summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/fs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-05 17:16:04 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-05 17:16:19 +0100
commite2d128b128d59d1da29d452bd56f4d9ab33feeb4 (patch)
treeec1ff5c963fe055e8ecf930e8f1099c51c45df7e /package/base-files/src/etc/init.d/fs
parent603842fae6e82d808c3d75339aeb88b1ebed94a8 (diff)
base-files: finetuning, verbose mount output
Diffstat (limited to 'package/base-files/src/etc/init.d/fs')
-rwxr-xr-xpackage/base-files/src/etc/init.d/fs7
1 files changed, 2 insertions, 5 deletions
diff --git a/package/base-files/src/etc/init.d/fs b/package/base-files/src/etc/init.d/fs
index 0e6401351..b6adb4ce4 100755
--- a/package/base-files/src/etc/init.d/fs
+++ b/package/base-files/src/etc/init.d/fs
@@ -35,16 +35,13 @@ for fs in $fstypes; do
logger -t 'Filesystem' "checking $fs filesystem on $disk"
fsck -p $disk >/dev/null 2>&1
}
- logger -t 'Filesystem' "Mounting $disk to $mnt"
mkdir -p $mnt > /dev/null 2>&1
if [ -b $disk ]; then
- mount $disk > /dev/null 2>&1
+ logger -t 'Filesystem' "Mounting $disk to $mnt"
+ mount $disk
else
logger -s -t 'Filesystem' "Skipping mounting $disk, device file missing"
fi
- if [ $? -ne 0 ];then
- logger -s -t 'Filesystem' "Mounting $disk failed with $?"
- fi
else
logger -s -t 'Filesystem' "No $procfs filesystem in kernel"
fi