Post-boot script not loading
any reason why the post-boot script would not be loading on r599 ?
my usb-stick is loading as /tmp/mnt/disc0_1 , where I have used the macsat guide to configuring as /opt
if i reboot, login , umount disc0_1, then run the script, all is fine.
login as: qaz
qaz@192.168.112.51's password:
[qaz@TV_WL500 root]$ umount /tmp/mnt/disc0_1
[qaz@TV_WL500 root]$ /usr/local/sbin/post-boot
[qaz@TV_WL500 root]$ cat /tmp/var/log/post-boot
2009-09-23 17:39:52 /usr/local/sbin/post-boot started
2009-09-23 17:39:52 /dev/discs found, USB key present
2009-09-23 17:39:52 USB key partition mounted as /opt
2009-09-23 17:39:52 starting rc.unslung
2009-09-23 17:39:52 /usr/local/sbin/post-boot finished
thanks
Update.....
post-boot IS working... (not really a surprise I guess)
I trimmed it back to just logging an slowly added actions to the script.
In order to get the Usb mount command to work, I have needed to place a Sleep 10 at the top of the script, before the mount command. My USB key must be a slow one. note that post-boot starts before the NTP service collects data.
1970-01-01 10:00:06 /usr/local/sbin/post-boot started
2009-09-23 22:05:55 slept10
2009-09-23 22:05:55 /dev/discs found, USB key present
2009-09-23 22:05:55 USB Key partions mounted as /opt
2009-09-23 22:05:55 starting rc.Unslung
2009-09-23 22:05:55 finished
hope my frustration helps someone else.