NetBSD/usr.sbin/pppd/chat/ppp-off

6 lines
103 B
Bash

#!/bin/sh
kill -INT `ps -ax | egrep " ppp " | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`
exit 0