source wifi details from an env file instead

This commit is contained in:
2023-11-30 18:40:50 +00:00
parent 619778e76c
commit a7838ea3ab
2 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,11 @@
# simple script to fix my broken wifi
# it checks if wifi is connected at regular intervals, and if not, repeatedly attempts to connect
network="<network_name>"
interface="<interface_name>"
# source the network & interface names from a file
source config.env
# network="<network_name>"
# interface="<interface_name>"
interval=1
while [ true ]; do