This commit is contained in:
2022-11-17 21:33:23 -05:00
parent a27975e3b4
commit 3b14de2e60
5 changed files with 43 additions and 0 deletions

12
wifi-wg.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Auto WiFi Wireguard connect
After=network.target
StartLimitIntervalSec=0
[Service]
Environment="DISPLAY=:0"
Restart=always
ExecStart=sudo wpa_cli -i wlo1 -a /home/william/wpa.sh
[Install]
WantedBy=graphical.target