core-dom0.spec: disable unnecessary services in %post

This is only until we will have a proper installer
This commit is contained in:
Joanna Rutkowska 2010-06-15 12:20:40 +02:00
parent ee7756b960
commit 096b1b9499

View File

@ -101,6 +101,16 @@ if [ "$1" != 1 ] ; then
exit 0
fi
# TODO: This is only temporary, until we will have our own installer
for f in /etc/init.d/*
do
srv=`basename $f`
[ $srv = 'functions' ] && continue
[ $srv = 'killall' ] && continue
[ $srv = 'halt' ] && continue
chkconfig $srv off
done
chkconfig iptables on
chkconfig NetworkManager on
chkconfig rsyslog on