ref: 326c8d9c4261d8e58e2469adb66f5c8438a8838c
dir: /rc/bin/inst/stopppp/
#!/bin/rc # desc: shut down the ppp connection # prereq: switch($1) { case checkready if(! ~ $#pppdev 1 || ! isipdevup '^pkt[0-9]') { stopppp=notdone export stopppp } case go kill ppp | rc case checkdone stopppp=notdone export stopppp }