Downgrade uclibc, change busybox options
[openwrt.git] / obsolete-buildroot / sources / pppoecd-pathnames.patch
1 --- pathnames.h.orig Tue Oct 14 03:09:53 2003
2 +++ pathnames.h Sat Jul 10 21:04:34 2004
3 @@ -9,37 +9,37 @@
4
5 #else /* HAVE_PATHS_H */
6 #ifndef _PATH_VARRUN
7 -#define _PATH_VARRUN "/tmp/ppp/"
8 +#define _PATH_VARRUN "/var/run"
9 #endif
10 #define _PATH_DEVNULL "/dev/null"
11 #endif /* HAVE_PATHS_H */
12
13 #ifndef _ROOT_PATH
14 -#define _ROOT_PATH
15 +#define _ROOT_PATH "/etc"
16 #endif
17
18 -#define _PATH_UPAPFILE _ROOT_PATH "/tmp/ppp/pap-secrets"
19 -#define _PATH_CHAPFILE _ROOT_PATH "/tmp/ppp/chap-secrets"
20 -#define _PATH_SYSOPTIONS _ROOT_PATH "/tmp/ppp/options"
21 -#define _PATH_IPUP _ROOT_PATH "/tmp/ppp/ip-up"
22 -#define _PATH_IPDOWN _ROOT_PATH "/tmp/ppp/ip-down"
23 -#define _PATH_AUTHUP _ROOT_PATH "/tmp/ppp/auth-up"
24 -#define _PATH_AUTHDOWN _ROOT_PATH "/tmp/ppp/auth-down"
25 -#define _PATH_TTYOPT _ROOT_PATH "/tmp/ppp/options."
26 -#define _PATH_CONNERRS _ROOT_PATH "/tmp/ppp/connect-errors"
27 -#define _PATH_PEERFILES _ROOT_PATH "/tmp/ppp/peers/"
28 -#define _PATH_RESOLV _ROOT_PATH "/tmp/ppp/resolv.conf"
29 +#define _PATH_UPAPFILE _ROOT_PATH "/ppp/pap-secrets"
30 +#define _PATH_CHAPFILE _ROOT_PATH "/ppp/chap-secrets"
31 +#define _PATH_SYSOPTIONS _ROOT_PATH "/ppp/options"
32 +#define _PATH_IPUP _ROOT_PATH "/ppp/ip-up"
33 +#define _PATH_IPDOWN _ROOT_PATH "/ppp/ip-down"
34 +#define _PATH_AUTHUP _ROOT_PATH "/ppp/auth-up"
35 +#define _PATH_AUTHDOWN _ROOT_PATH "/ppp/auth-down"
36 +#define _PATH_TTYOPT _ROOT_PATH "/ppp/options."
37 +#define _PATH_CONNERRS "/tmp/connect-errors"
38 +#define _PATH_PEERFILES _ROOT_PATH "/ppp/peers/"
39 +#define _PATH_RESOLV "/tmp/resolv.conf"
40
41 #define _PATH_USEROPT ".ppprc"
42
43 #ifdef INET6
44 -#define _PATH_IPV6UP _ROOT_PATH "/tmp/ppp/ipv6-up"
45 -#define _PATH_IPV6DOWN _ROOT_PATH "/tmp/ppp/ipv6-down"
46 +#define _PATH_IPV6UP _ROOT_PATH "/ppp/ipv6-up"
47 +#define _PATH_IPV6DOWN _ROOT_PATH "/ppp/ipv6-down"
48 #endif
49
50 #ifdef IPX_CHANGE
51 -#define _PATH_IPXUP _ROOT_PATH "/tmp/ppp/ipx-up"
52 -#define _PATH_IPXDOWN _ROOT_PATH "/tmp/ppp/ipx-down"
53 +#define _PATH_IPXUP _ROOT_PATH "/ppp/ipx-up"
54 +#define _PATH_IPXDOWN _ROOT_PATH "/ppp/ipx-down"
55 #endif /* IPX_CHANGE */
56
57 #ifdef __STDC__
58 @@ -48,7 +48,7 @@
59 #ifdef HAVE_PATHS_H
60 #define _PATH_PPPDB "/var/run/pppd.tdb"
61 #else
62 -#define _PATH_PPPDB "/tmp/ppp/pppd.tdb"
63 +#define _PATH_PPPDB "/tmp/pppd.tdb"
64 #endif
65 #endif /* __STDC__ */
66
This page took 0.040042 seconds and 5 git commands to generate.