From 1096cd2ebc150e5c74b5e8e4016b835f34cd3f48 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 29 Jul 2009 17:26:33 -0400 Subject: Use $() instead of `` for process expansion. Adapted from . --- sysconfig/network-scripts/ifup-wireless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-wireless') diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless index 18416b1b..d965cb89 100755 --- a/sysconfig/network-scripts/ifup-wireless +++ b/sysconfig/network-scripts/ifup-wireless @@ -46,7 +46,7 @@ fi # This is a bit hackish, but should do the job right... if [ -n "$ESSID" -o -n "$MODE" ] ; then - NICKNAME=`/bin/hostname` + NICKNAME=$(/bin/hostname) iwconfig $DEVICE nick "$NICKNAME" >/dev/null 2>&1 fi # Regular stuff... -- cgit v1.2.1