diff options
-rwxr-xr-x | src.etc/init.d/rc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src.etc/init.d/rc b/src.etc/init.d/rc index f643de2..0c81e9e 100755 --- a/src.etc/init.d/rc +++ b/src.etc/init.d/rc @@ -22,6 +22,11 @@ case ${level} in ;; esac -for i in /etc/rc.d/${level}*; do - [ -x "${i}" ] && "${i}" ${action} 2>&1 -done | ${logger} +{ + for i in /etc/rc.d/${level}[0-1]*; do + [ -x "${i}" ] && "${i}" ${action} 2>&1 + done + for i in /etc/rc.d/${level}[2-9]*; do + [ -x "${i}" ] && "${i}" ${action} 2>&1 + done +} | ${logger} |