From e11269f5d0b9fc622e14570d1274d85223d10567 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 6 Apr 2012 00:16:13 +0200 Subject: [PATCH] Add openrc alias for gentoo initstyle --- scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.1.5