stop vservers only, when they do not have the ONSTOP flag
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 17 Oct 2003 21:02:04 +0000 (21:02 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 17 Oct 2003 21:02:04 +0000 (21:02 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@201 94cd875c-1c1d-0410-91d2-eb244daf1a30

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)