projects
/
invirt/packages/invirt-xen-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
84cdb5b
)
simplify some shell code
author
Greg Price
<price@mit.edu>
Sat, 1 Nov 2008 02:53:17 +0000
(22:53 -0400)
committer
Greg Price
<price@mit.edu>
Sat, 1 Nov 2008 02:53:17 +0000
(22:53 -0400)
svn path=/trunk/packages/invirt-xen-config/; revision=1471
debian/invirt-xen-config.init
patch
|
blob
|
history
diff --git
a/debian/invirt-xen-config.init
b/debian/invirt-xen-config.init
index
ec23d0d
..
430ae9e
100755
(executable)
--- a/
debian/invirt-xen-config.init
+++ b/
debian/invirt-xen-config.init
@@
-13,13
+13,8
@@
PACKAGE=invirt-xen-config
NAME="$PACKAGE"
DESC="Invirt Xen host"
PARENTPACKAGE=xend
-GEN_FILES=(/etc/xen/xend-config.sxp.invirt)
SYSVMS=(s_master s_remote s_console)
-i=1
-for vm in "${SYSVMS[@]}"; do
- GEN_FILES[$i]="/etc/xen/sysvms/$vm"
- i=$((i + 1))
-done
+GEN_FILES=(/etc/xen/xend-config.sxp.invirt "${SYSVMS[@]/#//etc/xen/sysvms/}")
dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0