merged in changes from 0.25
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 18 Nov 2003 23:22:18 +0000 (23:22 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 18 Nov 2003 23:22:18 +0000 (23:22 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@409 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/sysv/rebootmgr.subst
util-vserver/sysv/vservers.subst

index 84b00e2..f60a5fe 100755 (executable)
@@ -17,6 +17,8 @@ case "$1" in
        VSERVERS=
        for serv in *.conf
        do
+               test -f "$serv" || continue
+
                serv=`basename $serv .conf`
                if [ -d $DEFAULT_VSERVERDIR/$serv ] ; then
                        VSERVERS="$VSERVERS $serv"
index 3556651..951309c 100755 (executable)
@@ -12,6 +12,8 @@ sortserver(){
        cd /etc/vservers
        for serv in *.conf
        do
+               test -f "$serv" || continue
+
                PRIORITY=100
                . $serv
                test "$ONBOOT" || continue