parent
95ee39ab1c
commit
4a892a23ba
@ -90,7 +90,7 @@ pppd_pre_start()
|
|||||||
eval passwordset=\$\{password_${IFVAR}-x\}
|
eval passwordset=\$\{password_${IFVAR}-x\}
|
||||||
if [ -n "${username}" ] \
|
if [ -n "${username}" ] \
|
||||||
&& [ -n "${password}" -o -z "${passwordset}" ]; then
|
&& [ -n "${password}" -o -z "${passwordset}" ]; then
|
||||||
opts="${opts} plugin passwordfd.so passwordfd 0"
|
opts="plugin passwordfd.so ${opts} passwordfd 0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! ${hasdefaultmetric}; then
|
if ! ${hasdefaultmetric}; then
|
||||||
@ -155,7 +155,7 @@ pppd_pre_start()
|
|||||||
opts="${opts} connect true"
|
opts="${opts} connect true"
|
||||||
set -- "$@" "${link}"
|
set -- "$@" "${link}"
|
||||||
fi
|
fi
|
||||||
opts="${opts} plugin $1.so"
|
opts="plugin $1.so ${opts}"
|
||||||
shift
|
shift
|
||||||
opts="${opts} $@"
|
opts="${opts} $@"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user