epoch1970 Wrote: 
> 
> My etch box has /etc/sudoers but I wonder if it came with sudo by
> default. 
> Perhaps "apt-get -s -f install sudo" could help ?
> (With "-s" apt switches to the "dry run" mode, spitting out all
> commands but actually not taking action. If the output looks good, then
> remove "-s" and run again the command)
> 

Hey thanks!, your suggestions did the trick.

First I had to apt-get the sudo package, and then do your other
instructions. Afterwards everything worked fine.

gharris999 Wrote: 
> 
> I appreciate any help you guys can give me with other distros. Fedora
> is the only thing I've got running here. Thanks. 
> 

Just a little question... how does the shutdown procedure work?. And to
make my point a little clearer I'll explain a bit... 

In Debian I have the squeezecenter initscript under /etc/init.d/ and I
modified the *stop* routine, so that when the squeezecenter service is
stopped, I first send a "Power Off" command to squeezecenter (you
see... I have IRBlaster plugin installed, and I have configured
IRBlaster to send a Off command to my Preamplifier when the Squeezebox
is turned off). 

So for example if I do a -*/etc/init.d/squeezecenter stop*- on the
command line, the Preamplifier turns off, then Squeezebox turns off,
and then Squeezecenter turns off.

Continuing further... I have a cronjob that runs late at night, that
has the purpose of shutdown my server (no point for me keeping it on if
I fall asleep). So at the end, the command that this cronjob executes is
this one:


Code:
--------------------
    /sbin/shutdown -h -t secs now
--------------------


And this puts a series of actions that in the process, executes the
-*/etc/init.d/squeezecenter stop*- command, thus shutting down my
Preamplifier, Squeezebox, Squeezecenter and Server (and saving the
planet :P )

So returning to my original question, when I select the Shutdown Server
option of this plugin, it does shutdown my server, but it doesn't seem
to execute the -*/etc/init.d/squeezecenter stop*- command (becuase I
see the Squeezebox stays in a "On" state and in effect the Preamplifier
stays on), so here is when my curiosity enters.

Thanks for the effort!


-- 
pichonCalavera

*rip* (eac) > *convert* (flac) > *tag* (musicbrainz/mp3tag) >
*normalize* (replaygain/foobar2000) > *albumart* (www) > *transport*
(winscp) > *store* (debian) > *rescan* (squeezecenter) > *play*
(squeezebox) > *preamplify* (zpre2) > *amplify* (zampv3) > *listen*
(axiomm2) > *scrooble* (last.fm) > *enjoy* (me :)
------------------------------------------------------------------------
pichonCalavera's Profile: http://forums.slimdevices.com/member.php?userid=13068
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to