summaryrefslogtreecommitdiffstats
path: root/system/xen/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/xen/doinst.sh')
-rw-r--r--system/xen/doinst.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/xen/doinst.sh b/system/xen/doinst.sh
index 747b332c89..98f701f9c7 100644
--- a/system/xen/doinst.sh
+++ b/system/xen/doinst.sh
@@ -22,12 +22,11 @@ preserve_perms() {
config $NEW
}
-preserve_perms etc/rc.d/rc.xen-watchdog.new
-preserve_perms etc/rc.d/rc.xencommons.new
-preserve_perms etc/rc.d/rc.xendomains.new
+find etc/rc.d -type f -name 'rc.xen*.new' \
+ | while read new ; do preserve_perms $new ; done
-config etc/default/xencommons.new
-config etc/default/xendomains.new
+find etc/default -type f -name 'xen*.new' \
+ | while read new ; do config $new ; done
find etc/xen etc/qemu -type f -name '*.new' \
| while read new ; do config $new ; done