Parent Directory
|
Revision Log
|
Patch
| revision 3230 by wbx, Sun Mar 25 14:48:12 2007 UTC | revision 3231 by tha, Mon Jul 16 12:22:02 2007 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | #!/bin/sh | #!/bin/sh |
| 2 | PID=`ps w | grep "[ /]pppd call $1 .*\$" | awk '{print $1}'` | PID=`ps wx | grep "[ /]pppd call $1\( .*\)*\$" | awk '{print $1}'` |
| 3 | if test -n "$PID" ; then | if test -n "$PID" ; then |
| 4 | kill $PID || { | kill $PID || { |
| 5 | echo "$0: kill failed." | echo "$0: kill failed." |
|
||||||||
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |