SVN: rc-scripts/trunk/rc.d/init.d/single
glen
glen at pld-linux.org
Sun Sep 17 15:26:01 CEST 2006
Author: glen
Date: Sun Sep 17 15:26:01 2006
New Revision: 7760
Modified:
rc-scripts/trunk/rc.d/init.d/single
Log:
Adjust indent.
Modified: rc-scripts/trunk/rc.d/init.d/single
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/single (original)
+++ rc-scripts/trunk/rc.d/init.d/single Sun Sep 17 15:26:01 2006
@@ -34,23 +34,23 @@
# this looks nicer
[ -x /usr/bin/clear ] && /usr/bin/clear
-# make sure modprobe is working
-if [ -f /proc/sys/kernel/modprobe ]; then
- sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
-fi
+ # make sure modprobe is working
+ if [ -f /proc/sys/kernel/modprobe ]; then
+ sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
+ fi
-# If they want to run something in single user mode, might as well run it...
-for i in /etc/rc.d/rc1.d/S[0-9][0-9]*; do
- # Check if the script is there.
- [ ! -f $i ] && continue
+ # If they want to run something in single user mode, might as well run it...
+ for i in /etc/rc.d/rc1.d/S[0-9][0-9]*; do
+ # Check if the script is there.
+ [ ! -f $i ] && continue
- # Don't run [KS]??foo.{rpmsave,rpmorig} scripts
- [ "${i%.rpmsave}" != "${i}" ] && continue
- [ "${i%.rpmorig}" != "${i}" ] && continue
- [ "${i%.rpmnew}" != "${i}" ] && continue
- [ "$i" = "/etc/rc.d/rc1.d/S00single" ] && continue
- $i start
-done
+ # Don't run [KS]??foo.{rpmsave,rpmorig} scripts
+ [ "${i%.rpmsave}" != "${i}" ] && continue
+ [ "${i%.rpmorig}" != "${i}" ] && continue
+ [ "${i%.rpmnew}" != "${i}" ] && continue
+ [ "$i" = "/etc/rc.d/rc1.d/S00single" ] && continue
+ $i start
+ done
# Now go to the single user level.
show "Telling INIT to go to single user mode"; ok
More information about the pld-cvs-commit
mailing list