summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init3
1 files changed, 1 insertions, 2 deletions
diff --git a/init b/init
index aa296c7..8fd467c 100644
--- a/init
+++ b/init
@@ -8,8 +8,7 @@ PATH=/usr/sbin:/usr/bin:/sbin:/bin
mount -t proc proc /proc -o nosuid,noexec,nodev
mount -t sysfs sys /sys -o nosuid,noexec,nodev
-if grep -q devtmpfs /proc/filesystems; then
- mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid
+if mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid; then
devtmpfs_mounted=1
else
mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid