35 |
|
|
36 |
elif [ -f /mnt/cdrom/livecdrootfs.sqsh ] |
elif [ -f /mnt/cdrom/livecdrootfs.sqsh ] |
37 |
then |
then |
38 |
mount -f /mnt/cdrom/livecdrootfs.sqsh /mnt/cloop -t ext2 -o ro |
mount -f /mnt/cdrom/livecdrootfs.sqsh /mnt/cloop -t squashfs -o ro |
39 |
fi |
fi |
40 |
else |
else |
41 |
rc_print "Remounting root file system in read-write mode ..." |
rc_print "Remounting root file system in read-write mode ..." |
100 |
rc_print "Unmounting all other currently mounted file systems ..." |
rc_print "Unmounting all other currently mounted file systems ..." |
101 |
if [ -e /dev/.udev ] |
if [ -e /dev/.udev ] |
102 |
then |
then |
103 |
NO_FS="noramfs,notmpfs,nodevtmpfs" |
NO_FS="noramfs,notmpfs,nodevtmpfs,nodevpts" |
104 |
umount -a -r -d -t ${NO_FS} |
umount -a -r -d -t ${NO_FS} |
105 |
else |
else |
106 |
# -d, umount loop devices as well |
# -d, umount loop devices as well |
120 |
;; |
;; |
121 |
|
|
122 |
*) |
*) |
123 |
echo "Usage: $0 {start|stop}" |
rc_echo "Usage: $0 {start|stop}" |
124 |
exit 1 |
exit 1 |
125 |
;; |
;; |
126 |
esac |
esac |