Date: Mon, 15 Mar 2004 09:20:01 -0600 From: Sean Welch <Sean_Welch@alum.wofford.org> To: freebsd-current@freebsd.org Subject: 5.2.1-RELEASE and devd.conf notify statement Message-ID: <20040315152001.GA17778@NitroPhys.welchsmnet.net>
next in thread | raw e-mail | index | archive | help
I seem to be attempting to configure an unsupported feature here. What I am trying to accomplish is a change in powersaving mode of my wireless card (wi0) triggered by a change in AC line status. Reading /etc/devd.conf leads one to believe that the use of a "notify" entry is the correct way to proceed (there is an example at the bottom of the file). The manpage however has no mention at all of a notify statement; only "options", "attach", "detach", and "nomatch" are listed as supported. Which is correct? My entries using the notify statement all appear to be inoperative. I have copied the example and changed only the "action" line. I have tried both action "/etc/rc.wireless_powerstate"; and action "/bin/echo $notify >> /tmp/powerstate"; Neither seems to do anything at all. The first is an executable shell script that works fine when executed from the command line (rather counter productive if that's what I have to do!!). Since I do not know if devd continuously scans its config file (can anyone tell me if it does or does not?) I also tried rebooting after making changes. There was no difference in behavior. Could someone help me out here? Is this a feature that isn't actually implemented in 5.2.1-RELEASE and shouldn't be expected to work? Sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315152001.GA17778>