Kaynağa Gözat

Use grand instead of delete

Use grand instead of delete
Deben Oldert 11 yıl önce
ebeveyn
işleme
3319f18644
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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" ]]