/[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 2626 Revision 2627
170 170
171 ebegin "Starting pppd in ${IFACE}" 171 ebegin "Starting pppd in ${IFACE}"
172 mark_service_inactive "${SVCNAME}" 172 mark_service_inactive "${SVCNAME}"
173 if [ -n "${username}" ] \ 173 if [ -n "${username}" ] \
174 && [ -n "${password}" -o -z "${passwordset}" ] ; then 174 && [ -n "${password}" -o -z "${passwordset}" ] ; then
175 printf "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \ 175 printf "%s" "${password}" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' | \
176 eval start-stop-daemon --start --exec /usr/sbin/pppd \ 176 eval start-stop-daemon --start --exec /usr/sbin/pppd \
177 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null 177 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null
178 else 178 else
179 eval start-stop-daemon --start --exec /usr/sbin/pppd \ 179 eval start-stop-daemon --start --exec /usr/sbin/pppd \
180 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null 180 --pidfile "/var/run/ppp-${IFACE}.pid" -- "${opts}" >/dev/null

Legend:
Removed from v.2626  
changed lines
  Added in v.2627

  ViewVC Help
Powered by ViewVC 1.1.20