stop vservers only, when they do not have the ONSTOP flag
[util-vserver.git] / util-vserver / sysv / vservers.subst
index d091d93..3556651 100755 (executable)
@@ -14,6 +14,7 @@ sortserver(){
        do
                PRIORITY=100
                . $serv
+               test "$ONBOOT" || continue
                printf "%03d %s\n" $PRIORITY `basename $serv .conf`
        done
        ) | sort $* | (while read a b; do echo $b; done)