summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/generic-2.6
diff options
context:
space:
mode:
authorGerry Rozema <groz@openwrt.org>2006-08-20 05:32:43 +0000
committerGerry Rozema <groz@openwrt.org>2006-08-20 05:32:43 +0000
commit58b3ea7e8660ab019c262f6f3d96e15817800e5e (patch)
treeae74e94e25362fa577be606327f89f2fc4ba2a41 /openwrt/target/linux/generic-2.6
parent576ee513c8c63e88a36adda97994aef3404cf0ae (diff)
downloadmtk-20170518-58b3ea7e8660ab019c262f6f3d96e15817800e5e.zip
mtk-20170518-58b3ea7e8660ab019c262f6f3d96e15817800e5e.tar.gz
mtk-20170518-58b3ea7e8660ab019c262f6f3d96e15817800e5e.tar.bz2
Add devpts mounts
SVN-Revision: 4612
Diffstat (limited to 'openwrt/target/linux/generic-2.6')
-rwxr-xr-xopenwrt/target/linux/generic-2.6/files/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/target/linux/generic-2.6/files/init b/openwrt/target/linux/generic-2.6/files/init
index 0c60acd..1fa6a7f 100755
--- a/openwrt/target/linux/generic-2.6/files/init
+++ b/openwrt/target/linux/generic-2.6/files/init
@@ -4,6 +4,7 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount none /proc -t proc
mount none /dev -t devfs
+mount non /dev/pts -t devpts
# the root mount point can come from the kernel command line
# or it can be overridden in the preinit.arch file
@@ -74,6 +75,7 @@ unset rootfs
mount -o move /proc /mnt/proc
mount -o move /dev /mnt/dev
+mount -o move /dev/pts /mnt/dev/pts
mount -o move /tmp /mnt/tmp
mount -o move /sys /mnt/sys
mount none /tmp -t tmpfs