fix bug #3973 Ubuntu 13.10 diskful installation fails

This commit is contained in:
yinle 2014-01-20 13:36:27 -08:00
parent 542a3dbbe4
commit 225a2564bd
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,4 @@
LICENSE.html opt/xcat/share/doc/packages/xCAT
xCATSN etc
xcat.conf etc/apache2/conf.d
xcat.conf.apach24 etc/apache2/conf.d/

View File

@ -28,6 +28,14 @@ case "$1" in
rm /etc/xCATMN
fi
ver=$(cat /etc/issue |awk '{print $2}')
num=${ver%.*}
file="xcat.conf.apach24"
if [ $num -gt 12 ];then
mv /etc/apache2/conf.d/xcat.conf.apach24 /etc/apache2/conf-enabled/
fi
apachedaemon='apache2'
update-rc.d $apachedaemon enable