rc-scripts/trunk/rc.d/rc
glen
cvs at pld-linux.org
Tue Apr 25 09:20:16 CEST 2006
Author: glen
Date: Tue Apr 25 09:20:14 2006
New Revision: 7370
Modified:
rc-scripts/trunk/rc.d/rc
Log:
Tabs.
Modified: rc-scripts/trunk/rc.d/rc
==============================================================================
--- rc-scripts/trunk/rc.d/rc (original)
+++ rc-scripts/trunk/rc.d/rc Tue Apr 25 09:20:14 2006
@@ -23,10 +23,10 @@
[ -z "$CONSOLE" ] && CONSOLE=/dev/console
if [ -c $CONSOLE ]; then
set -- $(stty size < $CONSOLE 2>/dev/null)
- LINES=$1
+ LINES=$1
COLUMNS=$2
else
- LINES=
+ LINES=
COLUMNS=
fi
export LINES COLUMNS CONSOLE
@@ -85,7 +85,7 @@
# (it can be serial console too)
if [ "$COLUMNS" -gt 0 ]; then
if [ "$argv2" != "chroot" ] && ! is_yes "$VSERVER" && \
- [ "$runlevel" = "0" -o "$runlevel" = "6" ]; then
+ [ "$runlevel" = "0" -o "$runlevel" = "6" ]; then
CONSOLE=/dev/tty1
[ -x /usr/bin/chvt ] && /usr/bin/chvt 1 && echo > $CONSOLE
exec 0<> /dev/console 1>&0 2>&0
@@ -132,7 +132,7 @@
[ "${1%.rpmnew}" != "${1}" ] && continue
subsys=${i#/etc/rc.d/rc$runlevel.d/K??}
[ ! -f /var/lock/subsys/$subsys ] && \
- [ ! -f /var/lock/subsys/${subsys}.init ] && continue
+ [ ! -f /var/lock/subsys/${subsys}.init ] && continue
kscripts=$(( kscripts + 1 ))
done
export kscripts
@@ -182,7 +182,7 @@
# Check if the subsystem is already up.
subsys=${i#/etc/rc.d/rc$runlevel.d/K??}
[ ! -f /var/lock/subsys/$subsys ] && \
- [ ! -f /var/lock/subsys/${subsys}.init ] && continue
+ [ ! -f /var/lock/subsys/${subsys}.init ] && continue
rc_splash "$i stop"
@@ -203,7 +203,7 @@
# Check if the subsystem is already up.
subsys=${i#/etc/rc.d/rc$runlevel.d/S??}
[ -f /var/lock/subsys/$subsys ] || \
- [ -f /var/lock/subsys/${subsys}.init ] && continue
+ [ -f /var/lock/subsys/${subsys}.init ] && continue
# If we're in confirmation mode, get user confirmation
[ -n "$CONFIRM" ] &&
More information about the pld-cvs-commit
mailing list