From 45f4ef13359d81a3440a7cf5a3dccc5484947bb9 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 1 Apr 2011 12:59:29 -0500 Subject: 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 --- system/xen/doinst.sh | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 system/xen/doinst.sh (limited to 'system/xen/doinst.sh') diff --git a/system/xen/doinst.sh b/system/xen/doinst.sh deleted file mode 100644 index bedcc76766..0000000000 --- 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 -- cgit v1.2.3