summaryrefslogtreecommitdiff
path: root/setnetrc
diff options
context:
space:
mode:
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"