mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
n2n: v3: fixes init script (#9488)
This commit is contained in:
parent
8ca1319fa3
commit
ad18adbf5c
@ -41,7 +41,7 @@ start_instance() {
|
|||||||
config_get_bool enabled "$cfg" 'enabled' '0'
|
config_get_bool enabled "$cfg" 'enabled' '0'
|
||||||
[ "$enabled" = "0" ] && return 1
|
[ "$enabled" = "0" ] && return 1
|
||||||
config_get port "$cfg" 'port'
|
config_get port "$cfg" 'port'
|
||||||
/usr/bin/supernode -l $port &
|
/usr/bin/supernode -p $port &
|
||||||
iptables -I INPUT -p udp --dport $port -j ACCEPT -m comment --comment 'n2n supernode port'
|
iptables -I INPUT -p udp --dport $port -j ACCEPT -m comment --comment 'n2n supernode port'
|
||||||
;;
|
;;
|
||||||
route)
|
route)
|
||||||
|
Loading…
Reference in New Issue
Block a user