diff --git a/package/pppd/0001-change-resolv-conf-path.patch b/package/pppd/0001-change-resolv-conf-path.patch new file mode 100644 index 0000000..6373c0d --- /dev/null +++ b/package/pppd/0001-change-resolv-conf-path.patch @@ -0,0 +1,13 @@ +diff --git a/pppd/pathnames.h b/pppd/pathnames.h +index b0a1cd9..a33f046 100644 +--- a/pppd/pathnames.h ++++ b/pppd/pathnames.h +@@ -30,7 +30,7 @@ + #define _PATH_TTYOPT _ROOT_PATH "/etc/ppp/options." + #define _PATH_CONNERRS _ROOT_PATH "/etc/ppp/connect-errors" + #define _PATH_PEERFILES _ROOT_PATH "/etc/ppp/peers/" +-#define _PATH_RESOLV _ROOT_PATH "/etc/resolv.conf" ++#define _PATH_RESOLV _ROOT_PATH "/etc/ppp/resolv.conf" + + #define _PATH_USEROPT ".ppprc" + #define _PATH_PSEUDONYM ".ppp_pseudonym"