From: Enrico Scholz Date: Fri, 17 Oct 2003 21:02:04 +0000 (+0000) Subject: stop vservers only, when they do not have the ONSTOP flag X-Git-Tag: VERSION_0_10~1209 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f26bdd04d8d47d4cb52d5433b22dc056952f42d;p=util-vserver.git stop vservers only, when they do not have the ONSTOP flag git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@201 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/sysv/vservers.subst b/util-vserver/sysv/vservers.subst index d091d93..3556651 100755 --- a/util-vserver/sysv/vservers.subst +++ b/util-vserver/sysv/vservers.subst @@ -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)