fix bug #3973 Ubuntu 13.10 diskful installation fails

This commit is contained in:
yinle 2014-01-20 13:21:03 -08:00
parent c98217e5a1
commit bc607bf74c

View File

@ -40,6 +40,12 @@ case "$1" in
else
xcatconfig -i -d -s
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/xcat.conf
fi
/etc/init.d/apache2 restart
;;