##// END OF EJS Templates
fast fix for issues/128...
drtyhlpr -
r240:457d82a7a91d
parent child
Show More
@@ -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
40 if [ "$ENABLE_SSHD" = false ] ; then
41 # Remove SSHD related iptables rules
42 sed -i "/^#/! {/SSH/ s/^/# /}" "${ETC_DIR}/iptables/iptables.rules" 2> /dev/null
43 sed -i "/^#/! {/SSH/ s/^/# /}" "${ETC_DIR}/iptables/ip6tables.rules" 2> /dev/null
38
39 if [ "$ENABLE_SSHD" = false ] ; then
40 # Remove SSHD related iptables rules
41 sed -i "/^#/! {/SSH/ s/^/# /}" "${ETC_DIR}/iptables/iptables.rules" 2> /dev/null
42 sed -i "/^#/! {/SSH/ s/^/# /}" "${ETC_DIR}/iptables/ip6tables.rules" 2> /dev/null
43 fi
44 44 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant