Author: sparky Date: Sun Mar 26 18:08:11 2006 New Revision: 7323 Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live Log: - try harder to umount /initrd
Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live ============================================================================== --- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live (original) +++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live Sun Mar 26 18:08:11 2006 @@ -35,11 +35,11 @@ [ -x /usr/lib/ppcrcd/fbsplash ] && /usr/lib/ppcrcd/fbsplash -#@@ debug: +#@@ debugr / debug: #@ put debugging information (set -x), #@ and runs sh at startup to allow do something DEBUG=0 -if cmdopt debug; then +if cmdopt "debugr?"; then export DEBUG=1 export SHD="-x" setterm -msg on @@ -49,7 +49,7 @@ if [ -d /initrd/bin ]; then - umount /initrd + umount /initrd || umount -l /initrd /sbin/blockdev --flushbufs /dev/ram[0-9]* rm -rf /initrd fi _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit