mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-03 15:20:19 +01:00
Merge branch 'nofirewall-fix' into 'master'
make nofirewall option work reliable, needs explicit systemd service ordering Closes #197 See merge request systemrescue/systemrescue-sources!106
This commit is contained in:
commit
bc24a9affc
|
|
@ -47,6 +47,7 @@ do
|
|||
# Option to allow user to disable the firewall
|
||||
nofirewall)
|
||||
echo "Found option 'nofirewall' on the boot command line"
|
||||
# the firewall service(s) must be in the Before-section of sysrescue-initialize.service
|
||||
systemctl disable --now iptables.service ip6tables.service
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[Unit]
|
||||
Description=SystemRescue Initialization
|
||||
Before=sshd.service getty-pre.target
|
||||
Before=sshd.service getty-pre.target iptables.service ip6tables.service
|
||||
Wants=getty-pre.target
|
||||
|
||||
[Service]
|
||||
|
|
|
|||
Loading…
Reference in a new issue