@@ -35,10 +35,10 if [ "$ENABLE_IPTABLES" = true ] ; then | |||
|
35 | 35 | chroot_exec systemctl daemon-reload |
|
36 | 36 | chroot_exec systemctl enable ip6tables.service |
|
37 | 37 | fi |
|
38 | fi | |
|
39 | 38 | |
|
40 | 39 | if [ "$ENABLE_SSHD" = false ] ; then |
|
41 | 40 | # Remove SSHD related iptables rules |
|
42 | 41 | sed -i "/^#/! {/SSH/ s/^/# /}" "${ETC_DIR}/iptables/iptables.rules" 2> /dev/null |
|
43 | 42 | sed -i "/^#/! {/SSH/ s/^/# /}" "${ETC_DIR}/iptables/ip6tables.rules" 2> /dev/null |
|
44 | 43 | fi |
|
44 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant