Update luci-app-go-wireguard

- Defined conffile
- Added service firewall reload when starting the vpn
This commit is contained in:
Cameron Thompson
2025-02-01 01:58:54 -05:00
parent 8dc578a364
commit bda5e8622d
4 changed files with 3 additions and 5 deletions

View File

@@ -0,0 +1 @@
/etc/config/wireguard

View File

@@ -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

View File

@@ -1,4 +0,0 @@
#!/bin/sh
[ -s ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
. ${IPKG_INSTROOT}/lib/functions.sh
default_prerm $0 $@

View File

@@ -324,4 +324,5 @@ fi
uci set wireguard."$WG".active="1"
uci commit wireguard
service firewall reload