Posted: Sun Dec 14, 2008 8:21 pm Post subject: Ubuntu 8.10 startup script
I was tired of seeing a non-standard Ubuntu start message when pytivo starts during boot so I modified windracer's script to add ubuntu specific functions so now the right justified [DONE] or [FAIL] show properly. This requires the standard /lib/lsb/init-functions to be sources prior to running but it now mimics a standard Ubuntu startup script and behaves accordingly.
I called this pytivo and put it in /etc/init.d and then created symlinks to the appropriate /etc/rc?.d folders. You could also use sysv-rc-conf to create the links as an easier method. Don't forget to do a chmod 755 pytivo once you create the file.
Use if you feel like it:
# description: pyTivo server
### INIT INFO
# Provides: pytivo
# Short-description: pyTivo server
# Description: Start and stop the pyTivo server.
### END INIT INFO
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum