From: Enrico Scholz Date: Tue, 30 Dec 2003 13:50:31 +0000 (+0000) Subject: added basic Slackware support (patch by Stephen Pearce) X-Git-Tag: version_0_26_90~5 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1765e53b79871062b2270b917f4da76a6e7ed115;hp=c4d7cef8887d2038f303faf5fe0c852f1483b4a4;p=util-vserver.git added basic Slackware support (patch by Stephen Pearce) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@503 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver b/util-vserver/scripts/vserver index 0c74cee..28b112a 100755 --- a/util-vserver/scripts/vserver +++ b/util-vserver/scripts/vserver @@ -474,6 +474,8 @@ elif [ "$2" = "start" ] ; then STARTCMD="/etc/init.d/rc $INITDEFAULT" elif [ -x $VROOTDIR/$1/usr/bin/emerge ] ; then STARTCMD="/sbin/rc default" + elif [ -x $VROOTDIR/$1/etc/rc.d/rc.M ] ; then + STARTCMD="/etc/rc.d/rc.M" fi DISCONNECT= @@ -589,6 +591,8 @@ elif [ "$2" = "stop" ] ; then STOPCMD="/etc/init.d/rc 6" elif [ -x $VROOTDIR/$1/usr/bin/emerge ] ; then STOPCMD="/sbin/rc shutdown" + elif [ -x $VROOTDIR/$1/etc/rc.d/rc.6 ] ; then + STOPCMD="/etc/rc.d/rc.6" fi for f in $S_FLAGS dummy