/[baselayout]/trunk/net.Linux/pppd.sh
Gentoo

Diff of /trunk/net.Linux/pppd.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2623 Revision 2625
174 174
175 ebegin "Starting pppd in ${IFACE}" 175 ebegin "Starting pppd in ${IFACE}"
176 mark_service_inactive "${SVCNAME}" 176 mark_service_inactive "${SVCNAME}"
177 if [ -n "${username}" ] \ 177 if [ -n "${username}" ] \
178 && [ -n "${password}" -o -z "${passwordset}" ] ; then 178 && [ -n "${password}" -o -z "${passwordset}" ] ; then
179 echo "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \ 179 printf "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \
180 eval start-stop-daemon --start --exec /usr/sbin/pppd \ 180 eval start-stop-daemon --start --exec /usr/sbin/pppd \
181 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null 181 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null
182 else 182 else
183 eval start-stop-daemon --start --exec /usr/sbin/pppd \ 183 eval start-stop-daemon --start --exec /usr/sbin/pppd \
184 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null 184 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null

Legend:
Removed from v.2623  
changed lines
  Added in v.2625

  ViewVC Help
Powered by ViewVC 1.1.20