From 3feafa78af98e2d62aae2096202debf6dcc7e168 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 12 Mar 2004 03:00:03 +0000 Subject: [PATCH] added gentoo startup style git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1221 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/vserver.functions | 5 +++++ 1 file changed, 5 insertions(+) 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;; -- 1.8.1.5