aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-09-27 20:13:37 +0000
committerBill Nottingham <notting@redhat.com>2004-09-27 20:13:37 +0000
commit7e73ff0d0bfb06da5733ddcbe1fd51c30b684497 (patch)
tree6a521022544161ba4089d6eba60d3ba22d13f40a /sysconfig/network-scripts/network-functions
parent6d66aa5caf891f469ea60d3c2e06a01382fae58c (diff)
downloadinitscripts-7e73ff0d0bfb06da5733ddcbe1fd51c30b684497.tar
initscripts-7e73ff0d0bfb06da5733ddcbe1fd51c30b684497.tar.gz
initscripts-7e73ff0d0bfb06da5733ddcbe1fd51c30b684497.tar.bz2
initscripts-7e73ff0d0bfb06da5733ddcbe1fd51c30b684497.tar.xz
initscripts-7e73ff0d0bfb06da5733ddcbe1fd51c30b684497.zip
shell quoting will EAT YOUR BRANE
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index a4d74c02..e4f9ab79 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -190,7 +190,7 @@ is_available ()
# trying to rename it:
configure_ccwgroup_device
if [ -n "$HWADDR" ]; then
- local curdev=`ip -o link | awk -F ':' -vIGNORECASE=1 "/$HWADDR/ { print \$2 }"`
+ local curdev=`ip -o link | awk -F ':' -vIGNORECASE=1 "/$HWADDR/ { print \\$2 }"`
if [ -z "$curdev" ]; then
return 1
fi