[Nottingham] [NLUG] SuSe 9.2 user boot script

Brian Pickford Brian at brianpickford.co.uk
Tue Mar 29 22:46:56 BST 2005


I think I am prolly missing something really obvious here,
I have just rebuilt my Mythtv box on SuSe 9.2
I want to execute the following script at boot time, there is no 
bootmisc file for me to append it to that I can see.
I tried placing a lint to user-boot.sh in the /etc/initd/rc5.d folder - 
it crashed the run level

Any one know where to put this please?

#lirc stuff
 /bin/setserial /dev/ttyS0 uart none   # use this for COM1
 /sbin/modprobe ledxmit_serial
 if [ -x /usr/local/lirc-ledxmit/sbin/ledxmit-ledxmitd ]
 then
   /usr/local/lirc-ledxmit/sbin/ledxmit-ledxmitd
 fi
 #
#mount remote files
mount -t smbfs -o username=guest,password= //192.168.0.8/mp3 
/home/video/fcs-music
mount -t smbfs -o username=guest,password= //192.168.0.8/video 
/home/video/fcs-video
mount -t smbfs -o username=guest,password= //192.168.0.8/pictures 
/home/video/fcs-photos


Cheres, Brian.



More information about the Nottingham mailing list