0006-pppd-change-reslov-conf-path.patch 755 B

12345678910111213141516171819
  1. diff --git a/package/pppd/0001-change-resolv-conf-path.patch b/package/pppd/0001-change-resolv-conf-path.patch
  2. new file mode 100644
  3. index 0000000..6373c0d
  4. --- /dev/null
  5. +++ b/package/pppd/0001-change-resolv-conf-path.patch
  6. @@ -0,0 +1,13 @@
  7. +diff --git a/pppd/pathnames.h b/pppd/pathnames.h
  8. +index b0a1cd9..a33f046 100644
  9. +--- a/pppd/pathnames.h
  10. ++++ b/pppd/pathnames.h
  11. +@@ -30,7 +30,7 @@
  12. + #define _PATH_TTYOPT _ROOT_PATH "/etc/ppp/options."
  13. + #define _PATH_CONNERRS _ROOT_PATH "/etc/ppp/connect-errors"
  14. + #define _PATH_PEERFILES _ROOT_PATH "/etc/ppp/peers/"
  15. +-#define _PATH_RESOLV _ROOT_PATH "/etc/resolv.conf"
  16. ++#define _PATH_RESOLV _ROOT_PATH "/etc/ppp/resolv.conf"
  17. +
  18. + #define _PATH_USEROPT ".ppprc"
  19. + #define _PATH_PSEUDONYM ".ppp_pseudonym"