summaryrefslogtreecommitdiff
path: root/recipes-connectivity/ppp/files/poff.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-09-05 19:52:26 -0500
committerJohn Klug <john.klug@multitech.com>2017-09-05 19:52:26 -0500
commit6d6f3e3de08dd0ac37966e4516f5431c16a8d8d4 (patch)
tree104fa81c9568f892a9b6f2058eca11d47f517203 /recipes-connectivity/ppp/files/poff.patch
parent25f33d55fa67a6a9e0c8a39f36a2ce7c8a41057b (diff)
downloadmeta-mlinux-6d6f3e3de08dd0ac37966e4516f5431c16a8d8d4.tar.gz
meta-mlinux-6d6f3e3de08dd0ac37966e4516f5431c16a8d8d4.tar.bz2
meta-mlinux-6d6f3e3de08dd0ac37966e4516f5431c16a8d8d4.zip
Get ppp to work from boot up
Diffstat (limited to 'recipes-connectivity/ppp/files/poff.patch')
-rw-r--r--recipes-connectivity/ppp/files/poff.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-connectivity/ppp/files/poff.patch b/recipes-connectivity/ppp/files/poff.patch
new file mode 100644
index 0000000..2385886
--- /dev/null
+++ b/recipes-connectivity/ppp/files/poff.patch
@@ -0,0 +1,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