From d5c2f3a98b2fb03ff176ff95fc73aa3cef801999 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 2 Jan 2017 01:11:15 +0000 Subject: Towards version 0.2. Added config variables and initialisation checks --- setnetrc | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'setnetrc') 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" -- cgit v1.2.3