CPU: Wrong CPU Load %.
[tomato.git] / release / src / router / ppp / pppd / pathnames.h
blobeaeb2ee376081db097289dcd8abba65d1cff3c1c
1 /*
2 * define path names
4 * $Id: pathnames.h,v 1.2 2004/08/12 02:56:55 tallest Exp $
5 */
7 #ifdef HAVE_PATHS_H
8 #include <paths.h>
10 #else /* HAVE_PATHS_H */
11 #ifndef _PATH_VARRUN
12 #define _PATH_VARRUN "/tmp/ppp/"
13 #endif
14 #define _PATH_DEVNULL "/dev/null"
15 #endif /* HAVE_PATHS_H */
17 #ifndef _ROOT_PATH
18 #define _ROOT_PATH
19 #endif
21 #define _PATH_UPAPFILE _ROOT_PATH "/tmp/ppp/pap-secrets"
22 #define _PATH_CHAPFILE _ROOT_PATH "/tmp/ppp/chap-secrets"
23 #define _PATH_SYSOPTIONS _ROOT_PATH "/tmp/ppp/options"
24 #define _PATH_IPUP _ROOT_PATH "/tmp/ppp/ip-up"
25 #define _PATH_IPDOWN _ROOT_PATH "/tmp/ppp/ip-down"
26 #define _PATH_AUTHUP _ROOT_PATH "/tmp/ppp/auth-up"
27 #define _PATH_AUTHDOWN _ROOT_PATH "/tmp/ppp/auth-down"
28 #define _PATH_TTYOPT _ROOT_PATH "/tmp/ppp/options."
29 #define _PATH_CONNERRS _ROOT_PATH "/tmp/ppp/connect-errors"
30 #define _PATH_PEERFILES _ROOT_PATH "/tmp/ppp/peers/"
31 #define _PATH_RESOLV _ROOT_PATH "/tmp/ppp/resolv.conf"
32 #define _PATH_SETPPPOEPID _ROOT_PATH "/tmp/ppp/set-pppoepid" // tallest 1219
34 #define _PATH_USEROPT ".ppprc"
36 #ifdef INET6
37 #define _PATH_IPV6UP _ROOT_PATH "/tmp/ppp/ipv6-up"
38 #define _PATH_IPV6DOWN _ROOT_PATH "/tmp/ppp/ipv6-down"
39 #endif
41 #ifdef IPX_CHANGE
42 #define _PATH_IPXUP _ROOT_PATH "/tmp/ppp/ipx-up"
43 #define _PATH_IPXDOWN _ROOT_PATH "/tmp/ppp/ipx-down"
44 #endif /* IPX_CHANGE */
46 #ifdef __STDC__
47 #define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd.tdb"
48 #else /* __STDC__ */
49 #ifdef HAVE_PATHS_H
50 #define _PATH_PPPDB "/var/run/pppd.tdb"
51 #else
52 #define _PATH_PPPDB "/tmp/ppp/pppd.tdb"
53 #endif
54 #endif /* __STDC__ */
56 #ifdef PLUGIN
57 #define _PATH_PLUGIN "/usr/lib/pppd/" VERSION
58 #endif /* PLUGIN */