diff options
author | Jim Pryor <profjim@jimpryor.net> | 2009-08-11 14:05:16 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-08-15 04:28:31 +0200 |
commit | 09a2212f344e5bdf7573584a9b8ef5b64c7b1fac (patch) | |
tree | ea813dcebf776401161a6fc3b4761710b2a0d2e2 /src/connections/ppp | |
parent | 07aa8f784896ba97914f4b2a71d2ba6c0047cb07 (diff) | |
download | netctl-09a2212f344e5bdf7573584a9b8ef5b64c7b1fac.tar.gz netctl-09a2212f344e5bdf7573584a9b8ef5b64c7b1fac.tar.xz |
quotes!
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/connections/ppp')
-rw-r--r-- | src/connections/ppp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/connections/ppp b/src/connections/ppp index c59db40..c50fee1 100644 --- a/src/connections/ppp +++ b/src/connections/ppp @@ -3,11 +3,11 @@ ppp_up() { - load_profile $1 + load_profile "$1" [[ -z "$PEER" ]] && PEER="provider" [[ -z "$PPP_TIMEOUT" ]] && PPP_TIMEOUT=30 - /usr/sbin/pppd call $PEER updetach child-timeout $PPP_TIMEOUT linkname $PEER + /usr/sbin/pppd call "$PEER" updetach child-timeout "$PPP_TIMEOUT" linkname "$PEER" if [[ $? -ne 0 ]]; then report_fail "Couldn't make pppd connection." @@ -16,10 +16,10 @@ ppp_up() { } ppp_down() { - load_profile $1 - kill $(head -1 /var/run/ppp-$(basename $PEER).pid) + load_profile "$1" + kill $(head -1 "/var/run/ppp-$(basename $PEER).pid") } -ppp_$1 $2 +ppp_$1 "$2" exit $? # vim: set ts=4 et sw=4: |