blob: 2385886c3b88d99a0014e90d9b8919331b0d6b18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naru old/poff new/poff
--- old/poff 2017-09-05 19:07:11.630885666 -0500
+++ new/poff 2017-09-05 19:08:09.586883950 -0500
@@ -1,7 +1,7 @@
#!/bin/sh
# Lets see how many pppds are running....
-set -- `cat /var/run/ppp*.pid 2>/dev/null`
+set -- `cat /var/run/ppp[0-9]*.pid 2>/dev/null`
case $# in
0) # pppd only creates a pid file once ppp is up, so let's try killing pppd
|