Pārlūkot izejas kodu

Use grand instead of delete

Use grand instead of delete
Deben Oldert 11 gadi atpakaļ
vecāks
revīzija
3319f18644
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      captiveportal/firewall/rules.sh

+ 1 - 1
captiveportal/firewall/rules.sh

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