From d50a46a7a5d44008847ef545c67b9f86826a0d4e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 7 Aug 2007 12:56:07 +0000 Subject: [PATCH] Fix chat connects for pppd --- net.Linux/pppd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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