summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-20 23:51:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-20 23:51:03 +0100
commit2aa24b0a0530a07a40f5bf858048dad5c8c61bf5 (patch)
tree4ca1fdc1a1cbc2fdadbb20e1491e489e5efa9591 /package/base-files/src
parent5121cb5e1cc6242de6040f8d620eb32a65336798 (diff)
avoid warning, when already mounted by kernel
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-xpackage/base-files/src/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init
index d4e34504a..702f0e442 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -1,7 +1,7 @@
#!/bin/sh
echo "System initialization ..."
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
-mount -t devtmpfs devtmpfs /dev
+mount -t devtmpfs devtmpfs /dev > /dev/null 2>&1
mount -nt proc proc /proc
mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
[ ! -f /etc/notmpfs ] && {