[pkg-wpa-devel] Bug#368769: wpasupplicant: patch to improve debugging output

Marc Haber mh+debian-bugs at zugschlus.de
Wed May 24 19:00:12 UTC 2006


Package: wpasupplicant
Severity: wishlist
Tags: patch

Hi,

the attached patch improved debug output of the if-pre-up script.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc4-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
-------------- next part --------------
--- wpasupplicant	2006-05-24 20:35:59.196007591 +0200
+++ /etc/network/if-pre-up.d/wpasupplicant	2006-05-24 20:47:04.000000000 +0200
@@ -134,7 +134,7 @@
 		elif [ -n "$IF_WPA_APSCAN" ]; then
 			
 			if [ "$VERBOSITY" = "1" ]; then
-				echo -n "$WPA_SUP_PNAME: wpa-apscan : "
+				echo -n "$WPA_SUP_PNAME: wpa-apscan=$IF_WPA_APSCAN : "
 			fi
 			
 			$WPA_CLI_BIN  -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -144,7 +144,7 @@
 		if [ -n "$IF_WPA_PREAUTHENTICATE" ]; then
 
 			if [ "$VERBOSITY" = "1" ]; then
-				echo -n "$WPA_SUP_PNAME: wpa-preauthenticate : "
+				echo -n "$WPA_SUP_PNAME: wpa-preauthenticate=$IF_WPA_PREAUTHENTICATE : "
 			fi
 		
 			$WPA_CLI_BIN  -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -166,7 +166,7 @@
 				add_network >$TO_NULL
 
 			if [ "$VERBOSITY" = "1" ]; then
-				echo -n "$WPA_SUP_PNAME: wpa-ssid : "
+				echo -n "$WPA_SUP_PNAME: wpa-ssid=$IF_WPA_SSID : "
 			fi
 			
 			# add ssid to new network block
@@ -176,7 +176,7 @@
 			if [ -n "$IF_WPA_PRIORITY" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-priority : "
+					echo -n "$WPA_SUP_PNAME: wpa-priority=$IF_WPA_PRIORITY : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -187,7 +187,7 @@
 			if [ -n "$IF_WPA_BSSID" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-bssid : "
+					echo -n "$WPA_SUP_PNAME: wpa-bssid=$IF_WPA_BSSID : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -197,7 +197,7 @@
 			if [ -n "$IF_WPA_PSK" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-psk : "
+					echo -n "$WPA_SUP_PNAME: wpa-psk=$IF_WPA_PSK : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -205,7 +205,7 @@
 			elif [ -s "$IF_WPA_PSK_FILE" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-psk-file : "
+					echo -n "$WPA_SUP_PNAME: wpa-psk-file=$IF_WPA_PSK_FILE : "
 				fi
 				
 				IF_WPA_PSK=$(cat "$IF_WPA_PSK_FILE")
@@ -214,7 +214,7 @@
 			elif [ -n "$IF_WPA_PASSPHRASE" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-passphrase : "
+					echo -n "$WPA_SUP_PNAME: wpa-passphrase=$IF_WPA_PASSPHRASE : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -222,7 +222,7 @@
 			elif [ -s "$IF_WPA_PASSPHRASE_FILE" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-passphrase-file : "
+					echo -n "$WPA_SUP_PNAME: wpa-passphrase-file=$IF_WPA_PASSPHRASE_FILE : "
 				fi
 				
 				IF_WPA_PASSPHRASE=$(cat "$IF_WPA_PASSPHRASE_FILE")
@@ -233,7 +233,7 @@
 			if [ -n "$IF_WPA_PAIRWISE" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-pairwise : "
+					echo -n "$WPA_SUP_PNAME: wpa-pairwise=$IF_WPA_PAIRWISE : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -243,7 +243,7 @@
 			if [ -n "$IF_WPA_GROUP" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-group : "
+					echo -n "$WPA_SUP_PNAME: wpa-group=$IF_WPA_GROUP : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -253,7 +253,7 @@
 			if [ -n "$IF_WPA_KEY_MGMT" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-key-mgmt : "
+					echo -n "$WPA_SUP_PNAME: wpa-key-mgmt=$IF_WPA_KEY_MGMT : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -263,7 +263,7 @@
 			if [ -n "$IF_WPA_PROTO" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-proto : "
+					echo -n "$WPA_SUP_PNAME: wpa-proto=$IF_WPA_PROTO : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -273,7 +273,7 @@
 			if [ -n "$IF_WPA_AUTH_ALG" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-auth-alg : "
+					echo -n "$WPA_SUP_PNAME: wpa-auth-alg=$IF_WPA_AUTH_ALG : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -283,7 +283,7 @@
 			if [ -n "$IF_WPA_SCAN_SSID" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-scan-ssid : "
+					echo -n "$WPA_SUP_PNAME: wpa-scan-ssid=$IF_WPA_SCAN_SSID : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -293,7 +293,7 @@
 			if [ -n "$IF_WPA_IDENTITY" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-identity : "
+					echo -n "$WPA_SUP_PNAME: wpa-identity=$IF_WPA_IDENTITY : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -303,7 +303,7 @@
 			if [ -n "$IF_WPA_ANONYMOUS_IDENTITY" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-anonymous-identity : "
+					echo -n "$WPA_SUP_PNAME: wpa-anonymous-identity=$IF_WPA_ANONYMOUS_IDENTITY : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -313,7 +313,7 @@
 			if [ -n "$IF_WPA_EAP" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-eap : "
+					echo -n "$WPA_SUP_PNAME: wpa-eap=$IF_WPA_EAP : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -323,7 +323,7 @@
 			if [ -n "$IF_WPA_EAPPSK" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-eappsk : "
+					echo -n "$WPA_SUP_PNAME: wpa-eappsk=$IF_WPA_EAPPSK : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -333,7 +333,7 @@
 			if [ -n "$IF_WPA_NAI" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-nai : "
+					echo -n "$WPA_SUP_PNAME: wpa-nai=$IF_WPA_NAI : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -343,7 +343,7 @@
 			if [ -n "$IF_WPA_PASSWORD" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-password : "
+					echo -n "$WPA_SUP_PNAME: wpa-password=$IF_WPA_PASSWORD : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -353,7 +353,7 @@
 			if [ -n "$IF_WPA_CA_CERT" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-ca-cert : "
+					echo -n "$WPA_SUP_PNAME: wpa-ca-cert=$IF_WPA_CA_CERT : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -363,7 +363,7 @@
 			if [ -n "$IF_WPA_CA_PATH" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-ca-path"
+					echo -n "$WPA_SUP_PNAME: wpa-ca-path=$IF_WPA_CA_PATH : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -373,7 +373,7 @@
 			if [ -n "$IF_WPA_CLIENT_CERT" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-client-cert : "
+					echo -n "$WPA_SUP_PNAME: wpa-client-cert=$IF_WPA_CLIENT_CERT : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -383,7 +383,7 @@
 			if [ -n "$IF_WPA_PRIVATE_KEY" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-private-key : "
+					echo -n "$WPA_SUP_PNAME: wpa-private-key=$IF_WPA_PRIVATE_KEY : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -393,7 +393,7 @@
 			if [ -n "$IF_WPA_PRIVATE_KEY_PASSWD" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-private-key-passwd : "
+					echo -n "$WPA_SUP_PNAME: wpa-private-key-passwd=$IF_WPA_PRIVATE_KEY_PASSWD : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -403,7 +403,7 @@
 			if [ -n "$IF_WPA_DH_FILE"  ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-dh-file : "
+					echo -n "$WPA_SUP_PNAME: wpa-dh-file=$IF_WPA_DH_FILE : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -413,7 +413,7 @@
 			if [ -n "$IF_WPA_SUBJECT_MATCH" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-subject-match : "
+					echo -n "$WPA_SUP_PNAME: wpa-subject-match=$IF_WPA_SUBJECT_MATCH : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -423,7 +423,7 @@
 			if [ -n "$IF_WPA_ALTSUBJECT_MATCH" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-altsubject-match : "
+					echo -n "$WPA_SUP_PNAME: wpa-altsubject-match=$IF_WPA_ALTSUBJECT_MATCH : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -433,7 +433,7 @@
 			if [ -n "$IF_WPA_CA_CERT2" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-ca-cert2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-ca-cert2=$IF_WPA_CA_CERT2 : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -443,7 +443,7 @@
 			if [ -n "$IF_WPA_CA_PATH2" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-ca-path2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-ca-path2=$IF_WPA_CA_PATH2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -453,7 +453,7 @@
 			if [ -n "$IF_WPA_CLIENT_CERT2" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-client-cert2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-client-cert2=$IF_WPA_CLIENT_CERT2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -463,7 +463,7 @@
 			if [ -n "$IF_WPA_PRIVATE_KEY2" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-private-key2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-private-key2=$IF_WPA_PRIVATE_KEY2 : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -473,7 +473,7 @@
 			if [ -n "$IF_WPA_PRIVATE_KEY_PASSWD2" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-private-key-passwd2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-private-key-passwd2=$IF_WPA_PRIVATE_KEY_PASSWD2 : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -483,7 +483,7 @@
 			if [ -n "$IF_WPA_DH_FILE2"  ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-dh-file2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-dh-file2=$IF_WPA_DH_FILE2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -493,7 +493,7 @@
 			if [ -n "$IF_WPA_SUBJECT_MATCH2" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-subject-match2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-subject-match2=$IF_WPA_SUBJECT_MATCH2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -503,7 +503,7 @@
 			if [ -n "$IF_WPA_ALTSUBJECT_MATCH2" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-altsubject-match2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-altsubject-match2=$IF_WPA_ALTSUBJECT_MATCH2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -513,7 +513,7 @@
 			if [ -n "$IF_WPA_EAP_METHODS" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-eap-methods : "
+					echo -n "$WPA_SUP_PNAME: wpa-eap-methods=$IF_WPA_EAP_METHODS : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -523,7 +523,7 @@
 			if [ -n "$IF_WPA_PHASE1" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-phase1 : "
+					echo -n "$WPA_SUP_PNAME: wpa-phase1=$IF_WPA_PHASE1 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -533,7 +533,7 @@
 			if [ -n "$IF_WPA_PHASE2" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-phase2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-phase2=$IF_WPA_PHASE2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -543,7 +543,7 @@
 			if [ -n "$IF_WPA_PCSC" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-pcsc : "
+					echo -n "$WPA_SUP_PNAME: wpa-pcsc=$IF_WPA_PCSC : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -553,7 +553,7 @@
 			if [ -n "$IF_WPA_PIN" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-pin : "
+					echo -n "$WPA_SUP_PNAME: wpa-pin=$IF_WPA_PIN : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -563,7 +563,7 @@
 			if [ -n "$IF_WPA_ENGINE" ]; then
 			
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-engine : "
+					echo -n "$WPA_SUP_PNAME: wpa-engine=$IF_WPA_ENGINE : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -573,7 +573,7 @@
 			if [ -n "$IF_WPA_ENGINE_ID" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-engine-id : "
+					echo -n "$WPA_SUP_PNAME: wpa-engine-id=$IF_WPA_ENGINE_ID : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -583,7 +583,7 @@
 			if [ -n "$IF_WPA_KEY_ID" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-key-id : "
+					echo -n "$WPA_SUP_PNAME: wpa-key-id=$IF_WPA_KEY_ID : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -593,7 +593,7 @@
 			if [ -n "$IF_WPA_EAPOL_FLAGS" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-eapol-flags : "
+					echo -n "$WPA_SUP_PNAME: wpa-eapol-flags=$IF_WPA_EAPOL_FLAGS : "
 				fi
 			
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -603,7 +603,7 @@
 			if [ -n "$IF_WPA_WEP_KEY0" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-wep-key0 : "
+					echo -n "$WPA_SUP_PNAME: wpa-wep-key0=$IF_WPA_WEP_KEY0 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -613,7 +613,7 @@
 			if [ -n "$IF_WPA_WEP_KEY1" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-wep-key1 : "
+					echo -n "$WPA_SUP_PNAME: wpa-wep-key1=$IF_WPA_WEP_KEY1 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -623,7 +623,7 @@
 			if [ -n "$IF_WPA_WEP_KEY2" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-wep-key2 : "
+					echo -n "$WPA_SUP_PNAME: wpa-wep-key2=$IF_WPA_WEP_KEY2 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -633,7 +633,7 @@
 			if [ -n "$IF_WPA_WEP_KEY3" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-wep-key3 : "
+					echo -n "$WPA_SUP_PNAME: wpa-wep-key3=$IF_WPA_WEP_KEY3 : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -643,7 +643,7 @@
 			if [ -n "$IF_WPA_WEP_TX_KEYIDX" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-wep-tx-keyidx : "
+					echo -n "$WPA_SUP_PNAME: wpa-wep-tx-keyidx=$IF_WPA_WEP_TX_KEYIDX : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -653,7 +653,7 @@
 			if [ -n "$IF_WPA_PROACTIVE_KEY_CACHING" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-proactive-key-caching : "
+					echo -n "$WPA_SUP_PNAME: wpa-proactive-key-caching=$IF_WPA_PROACTIVE_KEY_CACHING : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -663,7 +663,7 @@
 			if [ -n "$IF_WPA_EAP_WORKAROUND" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-eap-workaround : "
+					echo -n "$WPA_SUP_PNAME: wpa-eap-workaround=$IF_WPA_EAP_WORKAROUND : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -673,7 +673,7 @@
 			if [ -n "$IF_WPA_PAC_FILE" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-pac-file : "
+					echo -n "$WPA_SUP_PNAME: wpa-pac-file=$IF_WPA_PAC_FILE : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -683,7 +683,7 @@
 			if [ -n "$IF_WPA_MODE" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-mode : "
+					echo -n "$WPA_SUP_PNAME: wpa-mode=$IF_WPA_MODE : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -693,7 +693,7 @@
 			if [ -n "$IF_WPA_STAKEY" ]; then
 				
 				if [ "$VERBOSITY" = "1" ]; then
-					echo -n "$WPA_SUP_PNAME: wpa-stakey : "
+					echo -n "$WPA_SUP_PNAME: wpa-stakey=$IF_WPA_STAKEY : "
 				fi
 				
 				$WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
@@ -719,7 +719,7 @@
 	if [ -f "$WPA_SUP_PIDFILE" ]; then
 
 		if [ "$VERBOSITY" = "1" ]; then
-			echo "$WPA_SUP_PNAME: terminating $WPA_SUP_PNAME daemon"
+			echo "$WPA_SUP_PNAME: terminating $WPA_SUP_PNAME daemon via pidfile $WPA_SUP_PIDFILE"
 		fi
 
 		start-stop-daemon --stop --oknodo $DAEMON_VEROSITY \


More information about the Pkg-wpa-devel mailing list