From: Daniel Hokka Zakrisson Date: Sun, 19 Oct 2008 16:44:07 +0000 (+0000) Subject: Add arch initstyle. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=632060253a50825d6553ff56ecb89a5ef7a2dd95;p=util-vserver.git Add arch initstyle. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2794 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- 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