From: Daniel Hokka Zakrisson Date: Thu, 5 Apr 2012 22:16:13 +0000 (+0200) Subject: Add openrc alias for gentoo initstyle X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?p=util-vserver.git;a=commitdiff_plain;h=e11269f5d0b9fc622e14570d1274d85223d10567 Add openrc alias for gentoo initstyle --- diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 808fcd1..a79a310 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -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