|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
init scripts
Anybody have any suggestions on init scripts to get sage to start on bootup?
Here is what I have Code:
mike@sageserver:~$ cat /etc/init.d/sagetv #!/bin/sh # # Start/stops the SageTV daemon (startsage stopsage). # # . /lib/lsb/init-functions case "$1" in start) /opt/sagetv/server/startsage ;; stop) /opt/sagetv/server/stopsage ;; restart|force-reload) $0 stop sleep 1 $0 start ;; *) log_success_msg "Usage: /etc/init.d/sagetv {start|stop|restart|force-reload}" exit 1 ;; esac exit 0 Code:
mike@sageserver:~$ ll /etc/rc5.d/ total 0 lrwxrwxrwx 1 root root 17 2006-10-12 02:53 S05vbesave -> ../init.d/vbesave lrwxrwxrwx 1 root root 15 2006-10-12 02:53 S10acpid -> ../init.d/acpid lrwxrwxrwx 1 root root 18 2006-10-12 02:53 S10sysklogd -> ../init.d/sysklogd lrwxrwxrwx 1 root root 15 2006-10-12 02:53 S11klogd -> ../init.d/klogd lrwxrwxrwx 1 root root 13 2006-10-12 02:53 S13gdm -> ../init.d/gdm lrwxrwxrwx 1 root root 13 2006-10-12 02:53 S14ppp -> ../init.d/ppp lrwxrwxrwx 1 root root 15 2006-10-12 02:53 S18hplip -> ../init.d/hplip lrwxrwxrwx 1 root root 16 2006-10-12 02:53 S19cupsys -> ../init.d/cupsys lrwxrwxrwx 1 root root 14 2006-10-12 02:53 S20apmd -> ../init.d/apmd lrwxrwxrwx 1 root root 14 2006-10-12 02:53 S20dbus -> ../init.d/dbus lrwxrwxrwx 1 root root 18 2006-10-12 02:53 S20festival -> ../init.d/festival lrwxrwxrwx 1 root root 22 2006-10-12 02:53 S20hotkey-setup -> ../init.d/hotkey-setup lrwxrwxrwx 1 root root 21 2006-10-12 02:53 S20laptop-mode -> ../init.d/laptop-mode lrwxrwxrwx 1 root root 17 2006-10-12 02:53 S20makedev -> ../init.d/makedev lrwxrwxrwx 1 root root 23 2006-10-12 02:53 S20nvidia-kernel -> ../init.d/nvidia-kernel lrwxrwxrwx 1 root root 19 2006-10-12 02:53 S20powernowd -> ../init.d/powernowd lrwxrwxrwx 1 root root 15 2006-10-12 02:53 S20rsync -> ../init.d/rsync lrwxrwxrwx 1 root root 15 2006-10-12 03:35 S20samba -> ../init.d/samba lrwxrwxrwx 1 root root 13 2006-10-12 22:20 S20ssh -> ../init.d/ssh lrwxrwxrwx 1 root root 21 2006-10-12 02:53 S25bluez-utils -> ../init.d/bluez-utils lrwxrwxrwx 1 root root 15 2006-10-12 02:53 S25mdadm -> ../init.d/mdadm lrwxrwxrwx 1 root root 17 2006-10-12 02:53 S89anacron -> ../init.d/anacron lrwxrwxrwx 1 root root 13 2006-10-12 02:53 S89atd -> ../init.d/atd lrwxrwxrwx 1 root root 14 2006-10-12 02:53 S89cron -> ../init.d/cron lrwxrwxrwx 1 root root 16 2006-12-09 00:41 S97sageserver -> ../init.d/sagetv lrwxrwxrwx 1 root root 17 2006-10-12 02:53 S98usplash -> ../init.d/usplash lrwxrwxrwx 1 root root 22 2006-10-12 02:53 S99acpi-support -> ../init.d/acpi-support lrwxrwxrwx 1 root root 18 2006-10-12 02:53 S99rc.local -> ../init.d/rc.local lrwxrwxrwx 1 root root 19 2006-10-12 02:53 S99rmnologin -> ../init.d/rmnologin Also, I have this in /etc/fstab: Code:
//192.168.1.50/Video /var/media2 smbfs defaults 0 2 any suggestions would be greatly appreciated! thanks, -Mike |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|