summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2010-02-21 07:06:34 +0100
committerJames Rayner <james@archlinux.org>2010-02-21 07:06:34 +0100
commit63e1e4c2155c17cea7ed80e83d5feae3a0e44fa5 (patch)
tree9db5354b18ffb45c020e051fe63056fc62ede6ab
parent781798501379645e0df2e280cc786ba37a2d61c9 (diff)
downloadnetctl-63e1e4c2155c17cea7ed80e83d5feae3a0e44fa5.tar.gz
netctl-63e1e4c2155c17cea7ed80e83d5feae3a0e44fa5.tar.xz
Modify examples to prevent quoting issues as illustrated by FS#18405
-rw-r--r--examples/ethernet-dhcp8
-rw-r--r--examples/ethernet-iproute12
-rw-r--r--examples/ethernet-static14
-rw-r--r--examples/ppp6
-rw-r--r--examples/wireless-open12
-rw-r--r--examples/wireless-wep14
-rw-r--r--examples/wireless-wep-string-key14
-rw-r--r--examples/wireless-wpa14
-rw-r--r--examples/wireless-wpa-config12
-rw-r--r--examples/wireless-wpa-configsection8
-rw-r--r--examples/wireless-wpa-static20
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')