Add natpmpcd
This commit is contained in:
parent
e7989a267d
commit
405ae7c616
9
shell/natpmpcd
Normal file
9
shell/natpmpcd
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true; do
|
||||
if ! natpmpc -a 1 0 udp 60 -g 10.2.0.1 && natpmpc -a 1 0 tcp 60 -g 10.2.0.1; then
|
||||
echo "ERROR with natpmpc command"
|
||||
break
|
||||
fi
|
||||
sleep 45
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user