Return to ppp CVS log | Up to [cvs.NetBSD.org] / src / etc / rc.d |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.7, 2004/08/13 18:08:03 | version 1.8, 2004/10/11 15:00:51 | ||
---|---|---|---|
|
|
||
ppp_hup() | ppp_hup() | ||
{ | { | ||
pids="`check_process pppd`" | pids="$(check_process pppd)" | ||
if [ -n "$pids" ]; then | if [ -n "$pids" ]; then | ||
for pid in $pids; do | for pid in $pids; do | ||
kill $sig_hup $pid | kill $sig_hup $pid | ||
|
|
||
ppp_stop() | ppp_stop() | ||
{ | { | ||
pids="`check_process pppd`" | pids="$(check_process pppd)" | ||
if [ -n "$pids" ]; then | if [ -n "$pids" ]; then | ||
for pid in $pids; do | for pid in $pids; do | ||
kill $sig_stop $pid | kill $sig_stop $pid |