aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNao Nakashima <nao.nakashima@gmail.com>2009-11-04 19:40:52 +0000
committerRoy Marples <roy@marples.name>2009-11-04 19:40:52 +0000
commit4a892a23ba440a90d8a55f6d19d686917fd3e76e (patch)
tree36d400819c123663764cc11f1a242d136875d113
parent95ee39ab1c9ce313725098999cf1d05b42f9c126 (diff)
Fix ppp options ordering.
Fixes #205.
-rw-r--r--net/pppd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/pppd.sh b/net/pppd.sh
index 5967f0b8..a8c88820 100644
--- a/net/pppd.sh
+++ b/net/pppd.sh
@@ -90,7 +90,7 @@ pppd_pre_start()
eval passwordset=\$\{password_${IFVAR}-x\}
if [ -n "${username}" ] \
&& [ -n "${password}" -o -z "${passwordset}" ]; then
- opts="${opts} plugin passwordfd.so passwordfd 0"
+ opts="plugin passwordfd.so ${opts} passwordfd 0"
fi
if ! ${hasdefaultmetric}; then
@@ -155,7 +155,7 @@ pppd_pre_start()
opts="${opts} connect true"
set -- "$@" "${link}"
fi
- opts="${opts} plugin $1.so"
+ opts="plugin $1.so ${opts}"
shift
opts="${opts} $@"
done