base-files: fix mount-utils incompatibility
[openwrt/staging/wigyori.git] / package / base-files / files / etc / init.d / boot
index ffcc9f7adf27c3f6d44f52bc98027090bdd9582b..8b5455d8bcdfa738d71a529ddc26f148a1e7417e 100755 (executable)
@@ -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