diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:02 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:02 +0000 |
commit | 5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0 (patch) | |
tree | 8aa400b50255fd6cad3ae1b8ab32b9243838e10c /package/base-files/files/lib/preinit/40_mount_devpts | |
parent | bc8fe9b40fdd0817bad2b7ec7664e8eeaa97e1f5 (diff) | |
download | upstream-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.tar.gz upstream-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.tar.bz2 upstream-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.zip |
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>
SVN-Revision: 34308
Diffstat (limited to 'package/base-files/files/lib/preinit/40_mount_devpts')
-rw-r--r-- | package/base-files/files/lib/preinit/40_mount_devpts | 2 |
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 2d5010b912..b75d692878 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 |