diff options
author | Roy Marples <roy@marples.name> | 2007-08-07 12:56:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-07 12:56:07 +0000 |
commit | d50a46a7a5d44008847ef545c67b9f86826a0d4e (patch) | |
tree | 43ced8a0fa7ce0a546156539cdce287faf16745e | |
parent | 8d0f3f2b16de19532483f71cb4496d5065bd6c4c (diff) |
Fix chat connects for pppd
-rw-r--r-- | net.Linux/pppd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |