From d97ffe48193b1dfa704caf1896075702686e66c4 Mon Sep 17 00:00:00 2001 From: Jakub Jankowski Date: Mon, 8 Jan 2018 04:17:33 +0100 Subject: More consistent logging Signed-off-by: Jakub Jankowski --- rc.wireless | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.wireless b/rc.wireless index 9113f36..1b4b6f9 100644 --- a/rc.wireless +++ b/rc.wireless @@ -271,7 +271,7 @@ if [ -n "$IWPRIV" ] ; then echo "${IWPRIV}|" | \ while read -d '|' iwi; do if [ -n "$iwi" ]; then - echo "$0: '$IWPRIVCMD $iwi'" | $LOGGER + echo "$0: $IWPRIVCMD $iwi" | $LOGGER $IWPRIVCMD $iwi fi done @@ -315,7 +315,7 @@ if [ "$WPA" = "wpa_supplicant" ] || [ "$WPA" = "wpaxsupplicant" ] && [ -x ${SUPP fi done if [ $wi -eq $WPAWAIT ]; then - echo "WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 ${INTERFACE}_start' in a few seconds." | $LOGGER + echo "$0: WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 ${INTERFACE}_start' in a few seconds." | $LOGGER fi # Bring interface up to avoid 'not ready' errors when calling iwconfig $IFCOMMAND up -- cgit v1.2.3