Open mahgblack opened 7 years ago
fix this line in the code if [ $netmode == "default" ]; then,, change it for if [ $netmode = "default" ]; then in docker.sh script that solved the problem in ubuntu.
/bin/sh should be pointing to /bin/bash and not /bin/dash if you want the script to work properly
If the script requires bash, wouldn't it be better to use #!/bin/bash
as shebang?
you are right!
im getting this error, rules doesnt update, lost communications with dockers containers
/usr/local/csf/bin/csfpost.sh: 43: [: default: unexpected operator Bad argument
value>/32' Try
iptables -h' or 'iptables --help' for more information. Bad argumentvalue>/32' Try
iptables -h' or 'iptables --help' for more information. iptables v1.4.21: Bad IP address "<no"