diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-30 16:22:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-30 16:22:19 +0000 |
commit | d2c112ef4f70fb64b8a7f666c4e07b2dcba46c30 (patch) | |
tree | 814c863d937212029aed55a7279d93013de34399 /init.d/localmount | |
parent | c3d899714c6e68ea13cb15a75829ba16ea6cf217 (diff) |
debugfs support
Diffstat (limited to 'init.d/localmount')
-rwxr-xr-x | init.d/localmount | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/init.d/localmount b/init.d/localmount index 13172d43..ee3c46ca 100755 --- a/init.d/localmount +++ b/init.d/localmount @@ -93,6 +93,16 @@ start() { fi fi + # Setup Kernel Support for debugfs + if [ -d /sys/kernel/debug ] ; then + if grep -qs debugfs /proc/filesystems ; then + ebegin "Mounting debug filesystem" + mount -t debugfs debugfs /sys/kernel/debug \ + -o nodev,noexec,nosuid + eend $? + fi + fi + # Setup Kernel Support for SELinux if [ -d /selinux ] ; then if grep -qs selinuxfs /proc/filesystems ; then |