Эх сурвалжийг харах

Use grand instead of delete

Use grand instead of delete
Deben Oldert 11 жил өмнө
parent
commit
3319f18644

+ 1 - 1
captiveportal/firewall/rules.sh

@@ -45,7 +45,7 @@ then
   fi
   fi
 
 
 #If action is permitting acces to internet, delete rule to portal
 #If action is permitting acces to internet, delete rule to portal
-if [ "$1" == "delete" ]
+if [ "$1" == "grand" ]
   then
   then
     #check if $2 (ip adress) not empty
     #check if $2 (ip adress) not empty
     if [[ ! -z "$2" ]]
     if [[ ! -z "$2" ]]