| … | |
… | |
| 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 |
| 181 | fi |
181 | fi |
| 182 | |
182 | |
| 183 | if ! eend $? "Failed to start PPP" ; then |
183 | if ! eend $? "Failed to start PPP" ; then |
| 184 | mark_service_starting "net.${IFACE}" |
184 | mark_service_stopped "net.${IFACE}" |
| 185 | return 1 |
185 | return 1 |
| 186 | fi |
186 | fi |
| 187 | |
187 | |
| 188 | if ${hasupdetach} ; then |
188 | if ${hasupdetach} ; then |
| 189 | _show_address |
189 | _show_address |