Explorar o código

Update ip-generator.sh

minor bug fix
Deben Oldert %!s(int64=11) %!d(string=hai) anos
pai
achega
e233a53f43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      captiveportal/firewall/ip-generator.sh

+ 1 - 1
captiveportal/firewall/ip-generator.sh

@@ -43,7 +43,7 @@ do
 			do
    				#echo "$a.$b.$c.$d"
    				#Put new line with ip in users file
-   				echo -e "$a.$b.$c.$d\r\n" >> /users
+   				echo -e "$a.$b.$c.$d" >> /users
    				#Ad 1 for the counter
    				i=$((i+1))
 			done