|
for i in /etc/rc.d/rc$runlevel.d/S*; do
# Check if the script is there.
[color="DarkOrange"][ ! -f $i ] && continue # Check if the subsystem is already up.
[color="Lime"]subsys=${i#/etc/rc.d/rc$runlevel.d/S??}
[ -f /var/lock/subsys/$subsys ] || \
[ -f /var/lock/subsys/${subsys}.init ] && continue # Bring the subsystem up.
$i start
done
帶顏色是什么意思,能講解一下嗎! |
|