From afdcf1fa158e9833c163068f77e88d21ba0e3225 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 14 Dec 2007 20:09:53 +0000 Subject: udev requires try function and the modules-update program should take care of any 2.4 vs 2.6 kernel issues. Also add vim instructions to a few files. --- init.d.Linux/procfs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'init.d.Linux/procfs') diff --git a/init.d.Linux/procfs b/init.d.Linux/procfs index 85de863b..06a4e78a 100644 --- a/init.d.Linux/procfs +++ b/init.d.Linux/procfs @@ -78,8 +78,8 @@ start() { if [ -d /sys/kernel/security ] && ! mountinfo -q /sys/kernel/security; then if grep -qs securityfs /proc/filesystems; then ebegin "Mounting security filesystem" - mount -t securityfs securityfs /sys/kernel/security \ - -o nodev,noexec,nosuid + mount -t securityfs -o nodev,noexec,nosuid \ + securityfs /sys/kernel/security eend $? fi fi @@ -88,8 +88,8 @@ start() { if [ -d /sys/kernel/debug ] && ! mountinfo -q /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 + mount -t debugfs -o nodev,noexec,nosuid \ + debugfs /sys/kernel/debug eend $? fi fi @@ -105,3 +105,5 @@ start() { return 0 } + +# vim: set ts=4 : -- cgit v1.2.3