X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/184fbf8c196e5c9159b280833c513c6ef582ae3f..bb14a2f07c5b50fac48f91e68bb692ed7e0f1304:/package/ppp/patches/103-debian_fix_link_pidfile.patch diff --git a/package/ppp/patches/103-debian_fix_link_pidfile.patch b/package/ppp/patches/103-debian_fix_link_pidfile.patch index 6b333d997..175573db9 100644 --- a/package/ppp/patches/103-debian_fix_link_pidfile.patch +++ b/package/ppp/patches/103-debian_fix_link_pidfile.patch @@ -1,20 +1,6 @@ -diff -Naur ppp-2.4.4.orig/pppd/main.c ppp-2.4.4/pppd/main.c ---- ppp-2.4.4.orig/pppd/main.c 2009-05-07 15:58:00.000000000 -0400 -+++ ppp-2.4.4/pppd/main.c 2009-05-07 15:58:19.000000000 -0400 -@@ -772,8 +772,7 @@ - /* update pid files if they have been written already */ - if (pidfilename[0]) - create_pidfile(pid); -- if (linkpidfile[0]) -- create_linkpidfile(pid); -+ create_linkpidfile(pid); - exit(0); /* parent dies */ - } - setsid(); -diff -Naur ppp-2.4.4.orig/pppd/main.c ppp-2.4.4/pppd/main.c ---- ppp-2.4.4.orig/pppd/main.c 2009-05-07 15:58:00.000000000 -0400 -+++ ppp-2.4.4/pppd/main.c 2009-05-07 15:58:19.000000000 -0400 -@@ -772,8 +772,7 @@ +--- a/pppd/main.c ++++ b/pppd/main.c +@@ -772,8 +772,7 @@ detach() /* update pid files if they have been written already */ if (pidfilename[0]) create_pidfile(pid);