SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-16-2006, 12:28 PM
ChePazzo ChePazzo is offline
Sage Aficionado
 
Join Date: Oct 2004
Posts: 287
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
and:
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
But it does not seem to work.

Also, I have this in /etc/fstab:
Code:
//192.168.1.50/Video /var/media2 smbfs defaults        0       2
but that also only seems to work sometimes

any suggestions would be greatly appreciated!

thanks,

-Mike
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:13 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.