diff --git a/net.Linux/pppd.sh b/net.Linux/pppd.sh index f1224dd8..8829ab95 100644 --- a/net.Linux/pppd.sh +++ b/net.Linux/pppd.sh @@ -115,7 +115,7 @@ pppd_pre_start() { [ -n "$2" ] && chatopts="${chatopts} -U '$2'" eval $(_get_array "chat_${IFVAR}") if [ $# != 0 ] ; then - opts="${opts} connect $(printf "'%s' " "${chatopts} $(printf "'%s' " "$@")")" + opts="${opts} connect $(printf "\\'%s\\'" "${chatopts} $(printf "\\'\\\\'\\'%s\\'\\\'' " "$@")")" fi # Add plugins