Fix chat connects for pppd
This commit is contained in:
parent
8d0f3f2b16
commit
d50a46a7a5
@ -115,7 +115,7 @@ pppd_pre_start() {
|
|||||||
[ -n "$2" ] && chatopts="${chatopts} -U '$2'"
|
[ -n "$2" ] && chatopts="${chatopts} -U '$2'"
|
||||||
eval $(_get_array "chat_${IFVAR}")
|
eval $(_get_array "chat_${IFVAR}")
|
||||||
if [ $# != 0 ] ; then
|
if [ $# != 0 ] ; then
|
||||||
opts="${opts} connect $(printf "'%s' " "${chatopts} $(printf "'%s' " "$@")")"
|
opts="${opts} connect $(printf "\\'%s\\'" "${chatopts} $(printf "\\'\\\\'\\'%s\\'\\\'' " "$@")")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add plugins
|
# Add plugins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user