diff options
author | Roy Marples <roy@marples.name> | 2007-04-19 12:09:19 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-19 12:09:19 +0000 |
commit | 768a8cf86c5d95affcaa313ca19c74ae2f277107 (patch) | |
tree | df51aa00029b6f7543708a07bf69f8cfe9f65d37 /net.Linux | |
parent | d3b28724b551e5eae7b050d6b5e1bec9d64941d8 (diff) |
no need for the sed using printf
Diffstat (limited to 'net.Linux')
-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 625e0493..d2dce255 100644 --- a/net.Linux/pppd.sh +++ b/net.Linux/pppd.sh @@ -172,7 +172,7 @@ pppd_pre_start() { mark_service_inactive "${SVCNAME}" if [ -n "${username}" ] \ && [ -n "${password}" -o -z "${passwordset}" ] ; then - printf "%s" "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \ + printf "%s" "${password}" | \ eval start-stop-daemon --start --exec /usr/sbin/pppd \ --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null else |