aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/pppd.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-07 12:56:07 +0000
committerRoy Marples <roy@marples.name>2007-08-07 12:56:07 +0000
commitd50a46a7a5d44008847ef545c67b9f86826a0d4e (patch)
tree43ced8a0fa7ce0a546156539cdce287faf16745e /net.Linux/pppd.sh
parent8d0f3f2b16de19532483f71cb4496d5065bd6c4c (diff)
Fix chat connects for pppd
Diffstat (limited to 'net.Linux/pppd.sh')
-rw-r--r--net.Linux/pppd.sh2
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