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 | e39038f688a7721af921d2932f10f5d6bcc69513 (patch) | |
tree | a7cc36bde7f9cac43b69639005397a312b9459ae /package/base-files | |
parent | c9983c89122b046762a0987d014dc1f68a7cb975 (diff) | |
download | mtk-20170518-e39038f688a7721af921d2932f10f5d6bcc69513.zip mtk-20170518-e39038f688a7721af921d2932f10f5d6bcc69513.tar.gz mtk-20170518-e39038f688a7721af921d2932f10f5d6bcc69513.tar.bz2 |
mount debugfs by default
SVN-Revision: 18502
Diffstat (limited to 'package/base-files')
-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 3da0d6b..aa9e967 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 |