Update luci-app-go-wireguard
- Defined conffile - Added service firewall reload when starting the vpn
This commit is contained in:
1
ipk-source/luci-app-go-wireguard/CONTROL/conffiles
Executable file
1
ipk-source/luci-app-go-wireguard/CONTROL/conffiles
Executable file
@@ -0,0 +1 @@
|
||||
/etc/config/wireguard
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: luci-app-go-wireguard
|
||||
Version: 4.500-1
|
||||
Version: 4.500-2
|
||||
Depends: libc, wireguard-tools, kmod-wireguard, luci-proto-wireguard, udptunnel, eoip
|
||||
Source: package/rooter/0optionalapps/ext-wireguard
|
||||
SourceName: ext-wireguard
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
[ -s ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
|
||||
. ${IPKG_INSTROOT}/lib/functions.sh
|
||||
default_prerm $0 $@
|
||||
@@ -324,4 +324,5 @@ fi
|
||||
|
||||
uci set wireguard."$WG".active="1"
|
||||
uci commit wireguard
|
||||
service firewall reload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user