X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvserver.functions;h=3878446b8c31ee7036e3cce1d9ec0a82ab9f0456;hb=632060253a50825d6553ff56ecb89a5ef7a2dd95;hp=71fdbed3b5155e217fa0c95a154698e5a42e866e;hpb=2eaf3d93b482df281eb27d89914df1d7bf223f3a;p=util-vserver.git 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