From 632060253a50825d6553ff56ecb89a5ef7a2dd95 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sun, 19 Oct 2008 16:44:07 +0000 Subject: [PATCH] Add arch initstyle. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2794 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver.functions | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 71fdbed..3878446 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -346,6 +346,13 @@ function _generateInitOptions INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmp ) ;; + (xarch) + test -n "$RUNLEVEL_START" || RUNLEVEL_START=3 + INITCMD_START=( /etc/rc.multi ) + INITCMD_STOP=( /etc/rc.shutdown ) + INITCMD_PREPARE=( $_FAKE_RUNLEVEL "$RUNLEVEL_START" /var/run/utmp ) + ;; + (x) ;; (*) panic "Unknown init-style '$INITSTYLE'; aborting";; esac -- 1.8.1.5