summaryrefslogtreecommitdiff
path: root/package/base-files/default/sbin/mount_root
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/sbin/mount_root')
-rwxr-xr-xpackage/base-files/default/sbin/mount_root1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/mount_root b/package/base-files/default/sbin/mount_root
index bd9b815e12..427ff0444f 100755
--- a/package/base-files/default/sbin/mount_root
+++ b/package/base-files/default/sbin/mount_root
@@ -37,3 +37,4 @@ fi
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts
+grep sysfs /proc/filesystems >&- && mount -t sysfs none /sys