diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-23 20:35:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-23 20:35:05 +0000 |
commit | 74708e9b3eff4090eb8129aecdc31615155182d7 (patch) | |
tree | c9228266d525e4380621a5c0fbde8bade6f62802 /package | |
parent | 90ae6262a5b320bd366e6093a3c8b14720a086dc (diff) | |
download | upstream-74708e9b3eff4090eb8129aecdc31615155182d7.tar.gz upstream-74708e9b3eff4090eb8129aecdc31615155182d7.tar.bz2 upstream-74708e9b3eff4090eb8129aecdc31615155182d7.zip |
mount debugfs by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18502 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 3da0d6bc94..aa9e967787 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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 |