summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-05-13 10:17:57 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-05-13 10:17:57 +0000
commit5cbadc89e7c7febfb8ad9198f9b5f49280aead05 (patch)
tree97a62ec4868bb3e6e562cdf447303cf92408b028 /package/base-files/files/sbin
parente4c6078c6788530bc88eb6790e70d5a5b363a344 (diff)
downloadmtk-20170518-5cbadc89e7c7febfb8ad9198f9b5f49280aead05.zip
mtk-20170518-5cbadc89e7c7febfb8ad9198f9b5f49280aead05.tar.gz
mtk-20170518-5cbadc89e7c7febfb8ad9198f9b5f49280aead05.tar.bz2
Fix set_state preinit stuff
SVN-Revision: 7200
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/mount_root3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/base-files/files/sbin/mount_root b/package/base-files/files/sbin/mount_root
index a77a7f6..eac4ef3 100755
--- a/package/base-files/files/sbin/mount_root
+++ b/package/base-files/files/sbin/mount_root
@@ -2,8 +2,6 @@
# Copyright (C) 2006 OpenWrt.org
. /etc/functions.sh
-mount none /proc -t proc
-
size=$(awk '/MemTotal:/ {l=5242880;mt=($2*1024);print((s=mt/2)<l)?mt-l:s}' /proc/meminfo)
mount none /tmp -t tmpfs -o size=$size,nosuid,nodev,mode=1777
@@ -13,7 +11,6 @@ if grep devfs /proc/filesystems > /dev/null; then
M1=/dev/pty/m1
HOTPLUG=/sbin/hotplug-call
else
- mount -t sysfs none /sys
mount -t tmpfs tmpfs /dev -o size=512K
mknod /dev/console c 5 1
mkdir /dev/shm