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/init.d | |
parent | 9715b61b3cbae4065226031151530e099e913e21 (diff) | |
download | master-31e0f0ae-834204bda64d78c5c2d6228c236246291a1ed7d8.tar.gz master-31e0f0ae-834204bda64d78c5c2d6228c236246291a1ed7d8.tar.bz2 master-31e0f0ae-834204bda64d78c5c2d6228c236246291a1ed7d8.zip |
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/init.d')
-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 ffcc9f7adf..8b5455d8bc 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 13ac61a812..349b2b3264 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 } |