Add openrc alias for gentoo initstyle
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 5 Apr 2012 22:16:13 +0000 (00:16 +0200)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 5 Apr 2012 22:16:13 +0000 (00:16 +0200)
scripts/vserver.functions

index 808fcd1..a79a310 100644 (file)
@@ -355,7 +355,7 @@ function _generateInitOptions
            ! isNumber "${RUNLEVEL_START:-3}" || INITCMD_PREPARE=( $_FAKE_RUNLEVEL "${RUNLEVEL_START:-3}" /var/run/utmp )
            ;;
 
-       (xgentoo)
+       (xgentoo|xopenrc)
            test -n "$RUNLEVEL_START" || RUNLEVEL_START="default"
            RC_PATH=/usr/sbin:/usr/bin:/sbin:/bin