X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/184fbf8c196e5c9159b280833c513c6ef582ae3f..002c3c665289b52eb20fd899fd3561e7f9d9e073:/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..b8c4aaaf6 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 +@@ -773,8 +773,7 @@ detach() /* update pid files if they have been written already */ if (pidfilename[0]) create_pidfile(pid);