diff options
author | John Crispin <john@openwrt.org> | 2013-12-27 21:15:09 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-12-27 21:15:09 +0000 |
commit | 834204bda64d78c5c2d6228c236246291a1ed7d8 (patch) | |
tree | 2dd473525908ecdb2b2749daf901507953e807a0 /package/base-files/files/etc | |
parent | 9715b61b3cbae4065226031151530e099e913e21 (diff) | |
download | mtk-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-x | package/base-files/files/etc/init.d/boot | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/init.d/umount | 2 |
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 } |