Script to create wireguard client entries from zip file on the GL-S1300

(get & and place them in /data/wireguard dir. this works without needing to install any extra python libraries AFTER I installed gl-home-assistant, as it sets up python. YMMV)

ssh GL-S1300
root@GL-S1300:~# cd /data/
root@GL-S1300:/data# mkdir wireguard
root@GL-S1300:/data# cd wireguard/
[copy files]
root@GL-S1300:/data/wireguard# ls
root@GL-S1300:/data/wireguard# chmod +
root@GL-S1300:/data/wireguard# ./
(done. configs are appended to /etc/config/wireguard)


thanks for your share