diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 12:16:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 12:16:29 +0200 |
commit | a7734d41b583d39dd521438d4de292f8c531557c (patch) | |
tree | b1fe44f94490c20371ae2c2c8f665f39b06284f6 /package/base-files/src/etc/init.d/fs | |
parent | f58884abc002ffd7b9b7d36bd32231fa4ba7542d (diff) |
avoid automount of root disk partitions in mdev script
Diffstat (limited to 'package/base-files/src/etc/init.d/fs')
-rwxr-xr-x | package/base-files/src/etc/init.d/fs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/src/etc/init.d/fs b/package/base-files/src/etc/init.d/fs index 8bde402ec..2054d5426 100755 --- a/package/base-files/src/etc/init.d/fs +++ b/package/base-files/src/etc/init.d/fs @@ -18,14 +18,14 @@ for part in $rootparts; do fstype=$(grep "^$part" /etc/fstab|awk '{ print $3 }') mnt=$(grep "^$part" /etc/fstab|awk '{ print $2 }') [ -x /usr/sbin/fsck.$fstype ] && { - logger -t fs -s "Checking $fstype filesystem on $part" + logger -s "Checking $fstype filesystem on $part" fsck -p -t $fstype $part } grep $fstype /proc/filesystems >/dev/null 2>&1 if [ $? -eq 0 ];then mount $mnt else - logger -t fs -s "Filesystem $fstype not in kernel" + logger -s "Filesystem $fstype not in kernel" exit 1 fi done |