source wifi details from an env file instead
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
xdeb/
|
xdeb/
|
||||||
xdg-ninja/
|
xdg-ninja/
|
||||||
|
config.env
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
# simple script to fix my broken wifi
|
# simple script to fix my broken wifi
|
||||||
# it checks if wifi is connected at regular intervals, and if not, repeatedly attempts to connect
|
# it checks if wifi is connected at regular intervals, and if not, repeatedly attempts to connect
|
||||||
|
|
||||||
network="<network_name>"
|
# source the network & interface names from a file
|
||||||
interface="<interface_name>"
|
source config.env
|
||||||
|
|
||||||
|
# network="<network_name>"
|
||||||
|
# interface="<interface_name>"
|
||||||
interval=1
|
interval=1
|
||||||
|
|
||||||
while [ true ]; do
|
while [ true ]; do
|
||||||
|
Reference in New Issue
Block a user