From 096b1b9499247aa341f6a02df2c3cba82654e8b6 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Tue, 15 Jun 2010 12:20:40 +0200 Subject: [PATCH] core-dom0.spec: disable unnecessary services in %post This is only until we will have a proper installer --- rpm_spec/core-dom0.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index bb81f4d2..409cfb05 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -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