fix netcfg starting on reboot

This commit is contained in:
Tobias Powalowski 2012-08-03 11:52:16 +02:00
parent 295de3012e
commit 8417e055e9

View file

@ -3057,7 +3057,7 @@ auto_network()
if [[ "${SYSTEMD}" = "1" ]]; then
chroot ${DESTDIR} /usr/bin/systemctl enable netcfg.service
else
sed -i -e "s# network # \!network netcfg #g" ${DESTDIR}/etc/rc.conf
sed -i -e "s# network # \!network net-profiles #g" ${DESTDIR}/etc/rc.conf
fi
# copy proxy settings
if [[ "${PROXY_HTTP}" != "" ]]; then