summaryrefslogtreecommitdiff
path: root/setnetrc
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-01-02 01:11:15 +0000
committerKatolaZ <katolaz@freaknet.org>2017-01-02 01:11:15 +0000
commitd5c2f3a98b2fb03ff176ff95fc73aa3cef801999 (patch)
treeba396eac892e6f90407f1f0f3f40443ccfe7ea72 /setnetrc
parent8962c041aa703af3f22290e1a05222a206ed1a74 (diff)
Towards version 0.2. Added config variables and initialisation checks
Diffstat (limited to 'setnetrc')
-rw-r--r--setnetrc20
1 files changed, 18 insertions, 2 deletions
diff --git a/setnetrc b/setnetrc
index e5ccf82..4fdde81 100644
--- a/setnetrc
+++ b/setnetrc
@@ -7,13 +7,29 @@
##
## The default configuration file for wpa_supplicant
##
-WPA_FILE=./wpa_supplicant.conf
+WPA_FILE=/etc/wpa_supplicant/wpa_setnet.conf
##
## Logfile
##
-LOGFILE=./setnet_log
+LOGFILE=/var/log/setnet.log
+##
+##
+##
+TRUNCATE_LOG="yes"
+##
+## Required dependencies. If any of those commands is missing,
+## the script will exit
+##
+
+HARD_DEPS="ip dhclient dialog"
+
+##
+## Suggested dependencies. The script will issue a warning if any of
+## those commands is missing
+##
+SOFT_DEPS="wpa_cli wpa_supplicant"