|
From: not J. K. <jam...@ho...> - 2007-04-10 02:56:30
|
It halts >From: Mike Klein <mk...@vx...> >To: not James Knox <jam...@ho...> >CC: lir...@li... >Subject: Re: Calling shutdown from lirc >Date: Mon, 09 Apr 2007 19:48:24 -0700 > >Run it manually as non-daemon on cmdline and see what happens. > > >mike > >not James Knox wrote: > > Ok, in the last line of /etc/init.d/boot.local (I'm running Suse, btw) I > > put: > > irexec --daemon /etc/lircshutdown.conf > > and in /ete/lircshutdown.conf I have: > > begin > > prog = irexec > > button = power > > config = shutdown -h now > > end > > > > When I restarted and ran ps aux | grep irexec I found no instance of >irexec > > running. I also ran grep -e irexec /var/log/messages and got no hits. >And, > > to no one's surprise, when I clicked the power button on my remote, >nothing > > happened. What did I do wrong? > > > > > > > >> From: Mike Klein <mk...@vx...> > >> To: not James Knox <jam...@ho...> > >> CC: lir...@li... > >> Subject: Re: Calling shutdown from lirc > >> Date: Mon, 09 Apr 2007 18:45:28 -0700 > >> > >> http://www.lirc.org/html/irexec.html > >> > >> > >> mike > >> > >> not James Knox wrote: > >> > >>> I want to be able to shutdown my computer from a button on a remote. >How > >>> would I go about that? I'm running MythTV, so it would have to be in > >>> > >> some > >> > >>> manner that wouldn't interfere with that > >>> > >>> _________________________________________________________________ > >>> RealLiveMoms: Share your experience with Real Live Moms just like you > >>> http://www.reallivemoms.ca/ > >>> > >>> > >>> > >>> > >> >------------------------------------------------------------------------- > >> > >>> Take Surveys. Earn Cash. Influence the Future of IT > >>> Join SourceForge.net's Techsay panel and you'll get the chance to >share > >>> > >> your > >> > >>> opinions on IT & business topics through brief surveys-and earn cash > >>> > >>> > >> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> > > > > _________________________________________________________________ > > Your Space. Your Friends. Your Stories. Share your world with Windows >Live > > Spaces. http://spaces.live.com/?mkt=en-ca > > > > > > >------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share >your > > opinions on IT & business topics through brief surveys-and earn cash > > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _________________________________________________________________ This Easter, Hop Over To Live Maps For Some Cultural Enlightenment. http://local.live.com/?mkt=en-ca/?v=2&cid=A6D6BDB4586E357F!101 |