From: Felix Fietkau Date: Mon, 23 Nov 2009 20:35:05 +0000 (+0000) Subject: mount debugfs by default X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e39038f688a7721af921d2932f10f5d6bcc69513;p=openwrt%2Fstaging%2Fynezz.git mount debugfs by default SVN-Revision: 18502 --- 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