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