This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/ppp/patches/020-resolv_conf_path_tmp.patch

13 lines
583 B
Diff
Raw Normal View History

2013-07-13 17:19:22 +01:00
diff -Nru ppp-2.4.5.ori/pppd/pathnames.h ppp-2.4.5/pppd/pathnames.h
--- ppp-2.4.5.ori/pppd/pathnames.h 2009-11-16 22:26:07.000000000 +0000
+++ ppp-2.4.5/pppd/pathnames.h 2010-06-25 00:31:37.000000000 +0100
@@ -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/ppp/resolv.conf"
+#define _PATH_RESOLV _ROOT_PATH "/tmp/resolv.conf"
#define _PATH_USEROPT ".ppprc"
#define _PATH_PSEUDONYM ".ppp_pseudonym"