summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit/40_mount_devpts
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-23 20:02:02 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-23 20:02:02 +0000
commit41e7e722e145c31d08b8f99ad4975d222008a013 (patch)
tree2cd58dcc154ec89a2c609fa8b04baca644ddcf03 /package/base-files/files/lib/preinit/40_mount_devpts
parent1edb432c06d0c865c328e1106ac24deade4c2ebd (diff)
[package] base-files: use a natural mount syntax
Busybox built against musl-libc will choke on these otherwise, besides that it is more natural to use the filesystem type, then options, then name, then mountpoint. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34308 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/preinit/40_mount_devpts')
-rw-r--r--package/base-files/files/lib/preinit/40_mount_devpts2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/preinit/40_mount_devpts b/package/base-files/files/lib/preinit/40_mount_devpts
index 2d5010b91..b75d69287 100644
--- a/package/base-files/files/lib/preinit/40_mount_devpts
+++ b/package/base-files/files/lib/preinit/40_mount_devpts
@@ -7,7 +7,7 @@ init_devpts() {
}
do_mount_devpts() {
- mount devpts /dev/pts -t devpts
+ mount -t devpts devpts /dev/pts
}
boot_hook_add preinit_essential init_devpts