Minor sysresccd-initialize simplification

No functional change.
This commit is contained in:
Marcos Mello 2020-02-28 09:45:18 -03:00
parent 86fd9248de
commit f5fed4cdae

View file

@ -44,10 +44,7 @@ do
# Option to allow user to disable the firewall
nofirewall)
echo "Found option 'nofirewall' on the boot command line"
systemctl disable iptables.service
systemctl disable ip6tables.service
systemctl stop iptables.service
systemctl stop ip6tables.service
systemctl disable --now iptables.service ip6tables.service
;;
esac
done