diff --git a/system/xen/doinst.sh b/system/xen/doinst.sh index 51c573cb0c..712b2ddc17 100644 --- a/system/xen/doinst.sh +++ b/system/xen/doinst.sh @@ -31,3 +31,6 @@ find etc/default -type f -name 'xen*.new' \ find etc/xen -type f -name '*.new' \ | while read new ; do config $new ; done +[ -d etc/sysconfig ] && find etc/sysconfig -type f -name 'xen*.new' \ + | while read new ; do config $new ; done + diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index 3b0a9fded0..1d1d31d344 100644 --- a/system/xen/xen.SlackBuild +++ b/system/xen/xen.SlackBuild @@ -239,7 +239,7 @@ find $PKG/boot/ -type l -a -name "xen-*" -exec rm -f {} \; 2>/dev/null || true rmdir $PKG/etc/rc.d/init.d/ # Append .new to config files -for i in $PKG/etc/{default/*,xen/*.conf} ; do mv $i $i.new ; done +for i in $PKG/etc/{default/*,xen/*.conf,sysconfig/*} ; do [ -f $i ] && mv $i $i.new ; done # Remove some executable flags chmod -x $PKG/usr/libexec/xen/boot/*.gz 2>/dev/null || true