added gentoo startup style
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 12 Mar 2004 03:00:03 +0000 (03:00 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 12 Mar 2004 03:00:03 +0000 (03:00 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1221 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.functions

index 83215c9..5892446 100644 (file)
@@ -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;;