core-dom0.spec: disable unnecessary services in %post
This is only until we will have a proper installer
This commit is contained in:
parent
ee7756b960
commit
096b1b9499
@ -101,6 +101,16 @@ if [ "$1" != 1 ] ; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
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 iptables on
|
||||||
chkconfig NetworkManager on
|
chkconfig NetworkManager on
|
||||||
chkconfig rsyslog on
|
chkconfig rsyslog on
|
||||||
|
Loading…
Reference in New Issue
Block a user