summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-04 14:27:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-04 14:27:52 +0000
commiteb83bc789a353f4f6715edc8e6ed13ce0f054f72 (patch)
treec489271ee5ed3b6869de7f47d713a882bb5c6349
parenteea7bb328dfbd8ad1fdc451c6c57b87c9a0719e4 (diff)
downloadmtk-20170518-eb83bc789a353f4f6715edc8e6ed13ce0f054f72.zip
mtk-20170518-eb83bc789a353f4f6715edc8e6ed13ce0f054f72.tar.gz
mtk-20170518-eb83bc789a353f4f6715edc8e6ed13ce0f054f72.tar.bz2
only mount sysfs once (thx, ejka)
SVN-Revision: 6504
-rwxr-xr-xpackage/base-files/files/sbin/mount_root2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/mount_root b/package/base-files/files/sbin/mount_root
index 4fa048f..9a87fad 100755
--- a/package/base-files/files/sbin/mount_root
+++ b/package/base-files/files/sbin/mount_root
@@ -28,5 +28,3 @@ mount none /dev/pts -t devpts
}
} || mount -o remount,rw /dev/root /
}
-
-grep sysfs /proc/filesystems >/dev/null && mount -t sysfs none /sys 2>&-