aboutsummaryrefslogtreecommitdiff
path: root/system/xen/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-04-01 12:59:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-04-03 09:59:46 -0500
commit45f4ef13359d81a3440a7cf5a3dccc5484947bb9 (patch)
treeab67e4245789c97de5aa9422a8bb90710ff5095e /system/xen/doinst.sh
parent7558578e5bd3b315abdbf55ffb31a7dec89a0bca (diff)
system/xen: Removed (needs update)
This will be updated by the maintainer after 13.37 releases, but he's not done with the needed changes yet... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/xen/doinst.sh')
-rw-r--r--system/xen/doinst.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/system/xen/doinst.sh b/system/xen/doinst.sh
deleted file mode 100644
index bedcc7676667..000000000000
--- a/system/xen/doinst.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.xend.new
-preserve_perms etc/rc.d/rc.xendomains.new
-config etc/xen/xend-config.sxp.new
-config etc/xen/xend-pci-permissive.sxp.new
-config etc/xen/xend-pci-quirks.sxp.new
-config etc/xen/xendomains.config.new
-config etc/xen/xm-config.xml.new