Do not start NetworkManager from dom0 qubes_netvm script

Mark it for auto-start instead by the system scripts
This commit is contained in:
Joanna Rutkowska 2010-06-11 18:34:59 +02:00
parent bd77f21a39
commit c95fd449b7
2 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,6 @@ start()
elif [ $NETVM = "dom0" ] ; then
echo -n $"Setting up net backend in Dom0:"
/etc/init.d/NetworkManager start
brctl addbr br0 || exit 1
ifconfig br0 10.0.0.1 netmask 255.255.0.0 up || exit 1
ifconfig br0:1 10.0.255.254 netmask 255.255.0.0 up || exit 1

View File

@ -97,6 +97,7 @@ cp init.d/iptables $RPM_BUILD_ROOT/etc/sysconfig
%post
chkconfig iptables on
chkconfig NetworkManager on
sed 's/^net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/' -i /etc/sysctl.conf
if [ "$1" != 1 ] ; then