ian_heys wrote: 
> Thanks Tim
> 
> Not having much success with finding the init files so will have a look
> at Server Power Control - haven't used it for years so it will be
> another re-learning curve.

you can download a template init file here, 
https://github.com/fhd/init-script-template

I created a file called "sq2u" from the template, then just fill out
this section (my e.g., ymmv )
dir="/usr/sbin/sq2u"
user="root"
cmd="./squeeze2upnp-x86"

make it executable: 
chmod +x sq2u

then move it into place: 
sudo mv /usr/sbin/sq2u /etc/init.d/
sudo chmod +x /etc/init.d/sq2u
sudo update-rc.d sq2u defaults 

The script is nice because you can run commands on it. 
Usage:/etc/init.d/sq2u {start|stop|restart|status}



---
www.itjerk.com
www.progressiverock.com
------------------------------------------------------------------------
djfake's Profile: http://forums.slimdevices.com/member.php?userid=8111
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to