Apply Christian Heim's patch to deprecate the Gentoo initstyle
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 12 Sep 2006 10:50:36 +0000 (10:50 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 12 Sep 2006 10:50:36 +0000 (10:50 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2292 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.functions

index c71c761..7a9b6a8 100644 (file)
@@ -292,9 +292,7 @@ function _generateInitOptions
            ;;
 
        (xgentoo)
-           INITCMD_START=( /sbin/rc default  )
-           INITCMD_STOP=(  /sbin/rc shutdown )
-           ;;
+           panic "init-style '$INITSTYLE' is no longer supported; please use plain instead; aborting";;
 
        (x) ;;
        (*) panic "Unknown init-style '$INITSTYLE'; aborting";;