From d3e1bd8576000af810ceae701bc5812718ddf972 Mon Sep 17 00:00:00 2001 From: brooks Date: Fri, 26 Aug 2005 04:06:17 +0000 Subject: Support ifconfig_ variables containing quoted variables with spaces in them by wrapping the ifconfig command with eval "...". For example, this allows: ifconfig_iwi0="DHCP ssid 'foo bar baz'" --- etc/network.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/network.subr b/etc/network.subr index ed190bc..1ec62d4 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -43,7 +43,7 @@ ifconfig_up() ifconfig_args=`ifconfig_getargs $1` if [ -n "${ifconfig_args}" ]; then - ifconfig $1 ${ifconfig_args} + eval "ifconfig $1 ${ifconfig_args}" _cfg=0 fi -- cgit v1.1