summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-12-27 21:15:09 +0000
committerJohn Crispin <john@openwrt.org>2013-12-27 21:15:09 +0000
commit834204bda64d78c5c2d6228c236246291a1ed7d8 (patch)
tree2dd473525908ecdb2b2749daf901507953e807a0 /package/base-files/files/etc
parent9715b61b3cbae4065226031151530e099e913e21 (diff)
downloadmtk-20170518-834204bda64d78c5c2d6228c236246291a1ed7d8.zip
mtk-20170518-834204bda64d78c5c2d6228c236246291a1ed7d8.tar.gz
mtk-20170518-834204bda64d78c5c2d6228c236246291a1ed7d8.tar.bz2
base-files: fix mount-utils incompatibility
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> SVN-Revision: 39169
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
-rwxr-xr-xpackage/base-files/files/etc/init.d/umount2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index ffcc9f7..8b5455d 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -50,7 +50,7 @@ boot() {
touch /var/log/lastlog
touch /tmp/resolv.conf.auto
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
- grep -q debugfs /proc/filesystems && mount -o noatime -t debugfs debugfs /sys/kernel/debug
+ grep -q debugfs /proc/filesystems && /bin/mount -o noatime -t debugfs debugfs /sys/kernel/debug
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
/sbin/kmodloader
diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount
index 13ac61a..349b2b3 100755
--- a/package/base-files/files/etc/init.d/umount
+++ b/package/base-files/files/etc/init.d/umount
@@ -4,5 +4,5 @@
STOP=99
stop() {
sync
- umount -a -d -r
+ /bin/umount -a -d -r
}