summaryrefslogtreecommitdiffstats
path: root/src/netcfg
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-08-11 14:05:16 +0200
committerJames Rayner <james@archlinux.org>2009-08-15 04:28:31 +0200
commit09a2212f344e5bdf7573584a9b8ef5b64c7b1fac (patch)
treeea813dcebf776401161a6fc3b4761710b2a0d2e2 /src/netcfg
parent07aa8f784896ba97914f4b2a71d2ba6c0047cb07 (diff)
downloadnetctl-09a2212f344e5bdf7573584a9b8ef5b64c7b1fac.tar.gz
netctl-09a2212f344e5bdf7573584a9b8ef5b64c7b1fac.tar.xz
quotes!
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/netcfg')
-rw-r--r--src/netcfg14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/netcfg b/src/netcfg
index bd0dc6a..197848a 100644
--- a/src/netcfg
+++ b/src/netcfg
@@ -60,8 +60,8 @@ fi
case "$1" in
-c|check-iface|-u|up)
- CHECK="YES";
- profile_up $2;;
+ CHECK="YES"
+ profile_up "$2";;
clean)
rm "$STATE_DIR/interfaces"/* 2> /dev/null
rm "$STATE_DIR/profiles"/* 2> /dev/null
@@ -71,14 +71,14 @@ case "$1" in
killall dhcpcd 2> /dev/null
;;
-d|down)
- profile_down $2;;
+ profile_down "$2";;
-i|iface-down)
- interface_down $2;;
+ interface_down "$2";;
-a|all-down)
all_down;;
-r|reconnect)
- profile_down $2
- profile_up $2;;
+ profile_down "$2"
+ profile_up "$2";;
all-resume)
all_resume;;
all-suspend)
@@ -87,7 +87,7 @@ case "$1" in
usage;;
*)
if [ -n "$1" ]; then
- profile_up $1
+ profile_up "$1"
else
usage
fi