projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4c3f602
)
Add arch initstyle.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 19 Oct 2008 16:44:07 +0000 (16:44 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 19 Oct 2008 16:44:07 +0000 (16:44 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2794
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/vserver.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
71fdbed
..
3878446
100644
(file)
--- 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