From: Enrico Scholz Date: Fri, 12 Mar 2004 03:00:03 +0000 (+0000) Subject: added gentoo startup style X-Git-Tag: VERSION_0_10~353 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3feafa78af98e2d62aae2096202debf6dcc7e168;p=util-vserver.git added gentoo startup style git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1221 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver.functions b/util-vserver/scripts/vserver.functions index 83215c9..5892446 100644 --- a/util-vserver/scripts/vserver.functions +++ b/util-vserver/scripts/vserver.functions @@ -240,6 +240,11 @@ function _generateInitOptions test -z "$runlevel_stop" || INITCMD_STOP=( "${INITCMD_STOP[@]}" "$runlevel_stop" ) ;; + (xgentoo) + INITCMD_START=( /sbin/rc default ) + INITCMD_STOP=( /sbin/rc shutdown ) + ;; + (x) ;; (*) echo "Unknown init-style '$INITSTYLE'; aborting" >&2; exit 1;;