[pkg-wpa-devel] r979 - in /wpasupplicant/trunk/debian: README.modes ifupdown/functions.sh

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Wed Jan 2 04:53:14 UTC 2008


Author: kelmo-guest
Date: Wed Jan  2 04:53:13 2008
New Revision: 979

URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=979
Log:
allow further flexibility when controlling supplicant verbosity level

Modified:
    wpasupplicant/trunk/debian/README.modes
    wpasupplicant/trunk/debian/ifupdown/functions.sh

Modified: wpasupplicant/trunk/debian/README.modes
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/README.modes?rev=979&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/README.modes (original)
+++ wpasupplicant/trunk/debian/README.modes Wed Jan  2 04:53:13 2008
@@ -526,8 +526,10 @@
         ...
 
 Verbosity level number 3 starts the supplicant with the -ddd command line
-option, level 2 with -dd. Any other wpa-verbosity-level value will cause the
-supplicant to be started with the -d command line option.
+option, level 2 with -dd an level 1 with -d. Values of -1 and -2 will cause
+wpa_supplicant to be started with -q and -qq options respectively (quiet mode).
+Any other wpa-verbosity-level value will cause the supplicant to be started
+with default verbosity level.
 
 Another method is to start `wpa_cli -i <interface>` in another shell before
 starting the interface. Use the command 'level 0' first, to get all debug

Modified: wpasupplicant/trunk/debian/ifupdown/functions.sh
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/ifupdown/functions.sh?rev=979&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/ifupdown/functions.sh (original)
+++ wpasupplicant/trunk/debian/ifupdown/functions.sh Wed Jan  2 04:53:13 2008
@@ -209,10 +209,20 @@
 				2)
 					WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -dd"
 					;;
-				*)
+				1)
 					WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -d"
 					;;
+				0)
+					# no-op
+					;;
+				-1)
+					WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -q"
+					;;
+				-2)
+					WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -qq"
+					;;
 			esac
+			wpa_msg verbose "using debug level: $IF_WPA_DEBUG_LEVEL"
 		fi
 
 		if [ -n "$IF_WPA_LOGFILE" ]; then




More information about the Pkg-wpa-devel mailing list