Home | History | Annotate | Download | only in examples

Lines Matching refs:PID

14     PID=`cat $PF`
15 if [ $PID -gt 0 ]; then
16 if ps $PID | grep -q $NAME; then
17 kill $PID
26 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid
28 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME
30 if ! dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \
35 dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \
41 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid
43 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME
44 dhclient -pf /var/run/dhclient-$GIFNAME.pid \
54 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME
58 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid