aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/procfs
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-14 20:09:53 +0000
committerRoy Marples <roy@marples.name>2007-12-14 20:09:53 +0000
commitafdcf1fa158e9833c163068f77e88d21ba0e3225 (patch)
treec170f21fb6be2dc278e2554c4ae7595f1738d1a4 /init.d.Linux/procfs
parent584cea1f8e0d2aa21f75c273159608d9ee35cda5 (diff)
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.
Diffstat (limited to 'init.d.Linux/procfs')
-rw-r--r--init.d.Linux/procfs10
1 files changed, 6 insertions, 4 deletions
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 :