Yeah, it now works without swapon -a and mount -a, my fstab is:
PHP Code:
/dev/discs/disc0/part1 none swap sw 0 0
/dev/discs/disc0/part2 /opt ext3 noatime,nodiratime 1 1
and my post-boot is:
PHP Code:
#!/bin/sh
if [ ! -d /dev/discs ] ; then
insmod scsi_mod && insmod sd_mod && insmod usb-storage
fi
i=0
while [ $i -le 30 ] ; do
if [ -d /opt/etc ] ; then
break
fi
sleep 1
i='expr $i + 1'
done
sleep 10
/opt/etc/init.d/rc.unslung
I had to add sleep 10 before calling rc.unslung, otherwise it would not start samba and xinetd