initng/trunk/system/mountdev.i
glen
cvs at pld-linux.org
Sun Feb 26 13:58:01 CET 2006
Author: glen
Date: Sun Feb 26 13:57:59 2006
New Revision: 7024
Modified:
initng/trunk/system/mountdev.i
Log:
- cleanup
Modified: initng/trunk/system/mountdev.i
==============================================================================
--- initng/trunk/system/mountdev.i (original)
+++ initng/trunk/system/mountdev.i Sun Feb 26 13:57:59 2006
@@ -6,19 +6,16 @@
# Set the path
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
- echo "Mounting /proc"
# we need /proc mounted before everything
mount -n -o gid=17 -t proc /proc /proc
# sysfs is also needed before any other things (under kernel > 2.5)
if grep -q sysfs /proc/filesystems ; then
- echo "Mounting /sys"
mount -n -o gid=17 -t sysfs sysfs /sys
fi
# selinux
if grep -q selinuxfs /proc/filesystems && ! grep -q selinuxfs /proc/mounts; then
- echo "Mounting /selinux"
mount -n -o gid=17 -t selinuxfs selinuxfs /selinux
fi
}
More information about the pld-cvs-commit
mailing list