diff options
Diffstat (limited to 'scripts/init.wrapper')
-rw-r--r-- | scripts/init.wrapper | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/init.wrapper b/scripts/init.wrapper index cfdcd74..691cae9 100644 --- a/scripts/init.wrapper +++ b/scripts/init.wrapper @@ -1,7 +1,6 @@ #!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin SYSTEM_MNT=/opt -SYS_BLK_DIR=/sys/class/block MODULES_MNT=/usr/lib/modules mkdir -p /dev /sys /proc @@ -51,8 +50,8 @@ if [ x$MODULES = "x" ] then echo "Warning : There is no modules partition." else - /sbin/resize2fs -f $MODULES /sbin/fsck -y $MODULES + /sbin/resize2fs -f $MODULES /bin/mount $MODULES $MODULES_MNT fi @@ -61,7 +60,6 @@ then echo "Warning : There is no system-data partition." else /usr/bin/mount | grep "$DATAFS " > /dev/null - if [ $? = "0" ] then /usr/bin/umount -l "$DATAFS" |