mount debugfs by default
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / init.d / boot
index 3da0d6bc94a6b843e4e343ad47688dea2278d628..aa9e967787467e72a90a6bcceb799b1119f3dabf 100755 (executable)
@@ -59,6 +59,7 @@ start() {
        touch /var/log/lastlog
        touch /tmp/resolv.conf.auto
        ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
+       grep -q debugfs /proc/filesystems && mount -t debugfs debugfs /sys/kernel/debug
        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
 
        killall -q hotplug2