Add files via upload

pull/1882/head
Signor Pellegrino 2025-09-13 19:49:52 +01:00 committed by GitHub
parent 0d59ba1a96
commit b87c0e1693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/bin/sh
case "$1" in
start)
wgc=$(fw_printenv -n wg_privkey)
if [ -n "$wgc" ]; then
wireguard
fi
;;
stop)
;;
*)
echo "Usage: $0 {start}"
exit 1
;;
esac