summaryrefslogtreecommitdiff
path: root/net.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-19 12:05:25 +0000
committerRoy Marples <roy@marples.name>2007-04-19 12:05:25 +0000
commitd3b28724b551e5eae7b050d6b5e1bec9d64941d8 (patch)
tree942cb62e3817b38a79a353246f8669649e75c2cd /net.Linux
parentc2407df288a5a602e0daea0c349889d265dd615d (diff)
downloadopenrc-d3b28724b551e5eae7b050d6b5e1bec9d64941d8.tar.gz
openrc-d3b28724b551e5eae7b050d6b5e1bec9d64941d8.tar.bz2
openrc-d3b28724b551e5eae7b050d6b5e1bec9d64941d8.tar.xz
use printf %s
Diffstat (limited to 'net.Linux')
-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 2d1ded1..625e049 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 "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \
+ printf "%s" "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \
eval start-stop-daemon --start --exec /usr/sbin/pppd \
--pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null
else