summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/init b/init
index 66b0ddc..239a53e 100755
--- a/init
+++ b/init
@@ -156,10 +156,10 @@ main() {
screen_init
# Mount the /proc and /sys filesystems.
- mount -t devtmpfs none /dev
- mount -t proc none /proc
- mount -t tmpfs none /run
- mount -t sysfs none /sys
+ mount -t tmpfs none /run
+ mount -t devtmpfs none /dev
+ mount -t sysfs -o nodev,noexec,nosuid sysfs /sys
+ mount -t proc -o nodev,noexec,nosuid proc /proc
local fakeroot='/mnt/root'

Generated by cgit