From 63e1e4c2155c17cea7ed80e83d5feae3a0e44fa5 Mon Sep 17 00:00:00 2001 From: James Rayner Date: Sun, 21 Feb 2010 17:06:34 +1100 Subject: Modify examples to prevent quoting issues as illustrated by FS#18405 --- examples/ethernet-dhcp | 8 ++++---- examples/ethernet-iproute | 12 ++++++------ examples/ethernet-static | 14 +++++++------- examples/ppp | 6 +++--- examples/wireless-open | 12 ++++++------ examples/wireless-wep | 14 +++++++------- examples/wireless-wep-string-key | 14 +++++++------- examples/wireless-wpa | 14 +++++++------- examples/wireless-wpa-config | 12 ++++++------ examples/wireless-wpa-configsection | 8 ++++---- examples/wireless-wpa-static | 20 ++++++++++---------- 11 files changed, 67 insertions(+), 67 deletions(-) diff --git a/examples/ethernet-dhcp b/examples/ethernet-dhcp index 9757b67..a5f20a8 100644 --- a/examples/ethernet-dhcp +++ b/examples/ethernet-dhcp @@ -1,4 +1,4 @@ -CONNECTION="ethernet" -DESCRIPTION="A basic dhcp ethernet connection using iproute" -INTERFACE="eth0" -IP="dhcp" +CONNECTION='ethernet' +DESCRIPTION='A basic dhcp ethernet connection using iproute' +INTERFACE='eth0' +IP='dhcp' diff --git a/examples/ethernet-iproute b/examples/ethernet-iproute index 16d88b5..d22dd17 100644 --- a/examples/ethernet-iproute +++ b/examples/ethernet-iproute @@ -1,7 +1,7 @@ -CONNECTION="ethernet" -DESCRIPTION="A more versatile static ethernet connection using iproute" -INTERFACE="eth0" -IP="static" +CONNECTION='ethernet' +DESCRIPTION='A more versatile static ethernet connection using iproute' +INTERFACE='eth0' +IP='static' # Any valid iproute command can be placed in this array -IPCFG=("addr add dev eth0 192.168.1.23/24 brd +" "route add default via 192.168.1.1") -DNS=("192.168.1.1") +IPCFG=('addr add dev eth0 192.168.1.23/24 brd +' 'route add default via 192.168.1.1') +DNS=('192.168.1.1') diff --git a/examples/ethernet-static b/examples/ethernet-static index 630ff14..39d8bd6 100644 --- a/examples/ethernet-static +++ b/examples/ethernet-static @@ -1,7 +1,7 @@ -CONNECTION="ethernet" -DESCRIPTION="A basic static ethernet connection using iproute" -INTERFACE="eth0" -IP="static" -ADDR="192.168.1.23" -GATEWAY="192.168.1.1" -DNS=("192.168.1.1") +CONNECTION='ethernet' +DESCRIPTION='A basic static ethernet connection using iproute' +INTERFACE='eth0' +IP='static' +ADDR='192.168.1.23' +GATEWAY='192.168.1.1' +DNS=('192.168.1.1') diff --git a/examples/ppp b/examples/ppp index ca8d167..dfb6bc1 100644 --- a/examples/ppp +++ b/examples/ppp @@ -1,4 +1,4 @@ -CONNECTION="ppp" -INTERFACE="ignore" -PEER="provider" +CONNECTION='ppp' +INTERFACE='ignore' +PEER='provider' PPP_TIMEOUT=10 diff --git a/examples/wireless-open b/examples/wireless-open index a2b3d27..be7e9fc 100644 --- a/examples/wireless-open +++ b/examples/wireless-open @@ -1,6 +1,6 @@ -CONNECTION="wireless" -DESCRIPTION="A simple opened wireless connection" -INTERFACE="wlan0" -SECURITY="none" -ESSID="MyNetwork" -IP="dhcp" +CONNECTION='wireless' +DESCRIPTION='A simple opened wireless connection' +INTERFACE='wlan0' +SECURITY='none' +ESSID='MyNetwork' +IP='dhcp' diff --git a/examples/wireless-wep b/examples/wireless-wep index ed670d0..c6c9cb3 100644 --- a/examples/wireless-wep +++ b/examples/wireless-wep @@ -1,7 +1,7 @@ -CONNECTION="wireless" -DESCRIPTION="A simple WEP encrypted wireless connection" -INTERFACE="wlan0" -SECURITY="wep" -ESSID="MyNetwork" -KEY="1234567890" -IP="dhcp" +CONNECTION='wireless' +DESCRIPTION='A simple WEP encrypted wireless connection' +INTERFACE='wlan0' +SECURITY='wep' +ESSID='MyNetwork' +KEY='1234567890' +IP='dhcp' diff --git a/examples/wireless-wep-string-key b/examples/wireless-wep-string-key index 42c3210..3d0b2c2 100644 --- a/examples/wireless-wep-string-key +++ b/examples/wireless-wep-string-key @@ -1,7 +1,7 @@ -CONNECTION="wireless" -DESCRIPTION="A simple WEP encrypted wireless connection" -INTERFACE="wlan0" -SECURITY="wep" -ESSID="MyNetwork" -KEY="s:Wireless Key" -IP="dhcp" +CONNECTION='wireless' +DESCRIPTION='A simple WEP encrypted wireless connection' +INTERFACE='wlan0' +SECURITY='wep' +ESSID='MyNetwork' +KEY='s:Wireless Key' +IP='dhcp' diff --git a/examples/wireless-wpa b/examples/wireless-wpa index 0f5016d..f6b7eb4 100644 --- a/examples/wireless-wpa +++ b/examples/wireless-wpa @@ -1,7 +1,7 @@ -CONNECTION="wireless" -DESCRIPTION="A simple WPA encrypted wireless connection" -INTERFACE="wlan0" -SECURITY="wpa" -ESSID="MyNetwork" -KEY="WirelessKey" -IP="dhcp" +CONNECTION='wireless' +DESCRIPTION='A simple WPA encrypted wireless connection' +INTERFACE='wlan0' +SECURITY='wpa' +ESSID='MyNetwork' +KEY='WirelessKey' +IP='dhcp' diff --git a/examples/wireless-wpa-config b/examples/wireless-wpa-config index 5062e41..864199f 100644 --- a/examples/wireless-wpa-config +++ b/examples/wireless-wpa-config @@ -1,6 +1,6 @@ -CONNECTION="wireless" -DESCRIPTION="A wpa_supplicant configuration based wireless connection" -INTERFACE="wlan0" -SECURITY="wpa-config" -WPA_CONF="/etc/wpa_supplicant.conf" -IP="dhcp" +CONNECTION='wireless' +DESCRIPTION='A wpa_supplicant configuration based wireless connection' +INTERFACE='wlan0' +SECURITY='wpa-config' +WPA_CONF='/etc/wpa_supplicant.conf' +IP='dhcp' diff --git a/examples/wireless-wpa-configsection b/examples/wireless-wpa-configsection index f4e046b..a57f885 100644 --- a/examples/wireless-wpa-configsection +++ b/examples/wireless-wpa-configsection @@ -1,8 +1,8 @@ -CONNECTION="wireless" +CONNECTION='wireless' INTERFACE=wlan0 -SECURITY="wpa-configsection" -ESSID="University" -IP="dhcp" +SECURITY='wpa-configsection' +ESSID='University +IP='dhcp' CONFIGSECTION=' ssid="University" key_mgmt=WPA-EAP diff --git a/examples/wireless-wpa-static b/examples/wireless-wpa-static index 8c1aaf0..751f00f 100644 --- a/examples/wireless-wpa-static +++ b/examples/wireless-wpa-static @@ -1,10 +1,10 @@ -CONNECTION="wireless" -DESCRIPTION="A simple WPA encrypted wireless connection using a static IP" -INTERFACE="wlan0" -SECURITY="wpa" -ESSID="MyNetwork" -KEY="WirelessKey" -IP="static" # Any other CONNECTION="ethernet" options may be used. -ADDR="192.168.1.23" -GATEWAY="192.168.1.1" -DNS=("192.168.1.1") +CONNECTION='wireless' +DESCRIPTION='A simple WPA encrypted wireless connection using a static IP' +INTERFACE='wlan0' +SECURITY='wpa' +ESSID='MyNetwork' +KEY='WirelessKey' +IP='static' # Any other CONNECTION='ethernet' options may be used. +ADDR='192.168.1.23' +GATEWAY='192.168.1.1' +DNS=('192.168.1.1') -- cgit v1.2.3-24-g4f1b