From: Hyotaek Shim Date: Fri, 9 Apr 2021 04:14:46 +0000 (+0900) Subject: Clean up init_wrapper script X-Git-Tag: submit/tizen/20210602.084502~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d82b4e1da01244fc86aabdedd80f92cf6c36190;p=platform%2Fadaptation%2Fsystem-plugin.git Clean up init_wrapper script Change-Id: I760a01622d5432f0bc7622fed4d35dded75f165e Signed-off-by: Hyotaek Shim --- 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"