4 #ifndef PPP_PATHNAMES_H
5 #define PPP_PATHNAMES_H
11 #endif /* HAVE_PATHS_H */
14 #define _PATH_DEVNULL "/dev/null"
17 #ifdef PPPD_RUNTIME_DIR
19 #define _PATH_VARRUN PPPD_RUNTIME_DIR "/"
22 #ifdef PPPD_LOGFILE_DIR
24 #define _PATH_VARLOG PPPD_LOGFILE_DIR
27 #ifdef PPPD_PLUGIN_DIR
28 #define _PATH_PLUGIN PPPD_PLUGIN_DIR
31 #define _PATH_PLUGIN DESTDIR "/lib/pppd/" VERSION
33 #define _PATH_PLUGIN "/usr/lib/pppd"
35 #endif /* PPPD_PLUGIN_DIR */
41 #define _PATH_UPAPFILE _ROOT_PATH "/etc/ppp/pap-secrets"
42 #define _PATH_CHAPFILE _ROOT_PATH "/etc/ppp/chap-secrets"
43 #define _PATH_SRPFILE _ROOT_PATH "/etc/ppp/srp-secrets"
45 #ifdef PPP_WITH_EAPTLS
46 #define _PATH_EAPTLSCLIFILE _ROOT_PATH "/etc/ppp/eaptls-client"
47 #define _PATH_EAPTLSSERVFILE _ROOT_PATH "/etc/ppp/eaptls-server"
48 #define _PATH_OPENSSLCONFFILE _ROOT_PATH "/etc/ppp/openssl.cnf"
49 #endif /* PPP_WITH_EAPTLS */
51 #define _PATH_SYSOPTIONS _ROOT_PATH "/etc/ppp/options"
52 #define _PATH_IPUP _ROOT_PATH "/etc/ppp/ip-up"
53 #define _PATH_IPDOWN _ROOT_PATH "/etc/ppp/ip-down"
54 #define _PATH_IPPREUP _ROOT_PATH "/etc/ppp/ip-pre-up"
55 #define _PATH_AUTHUP _ROOT_PATH "/etc/ppp/auth-up"
56 #define _PATH_AUTHDOWN _ROOT_PATH "/etc/ppp/auth-down"
57 #define _PATH_TTYOPT _ROOT_PATH "/etc/ppp/options."
58 #define _PATH_CONNERRS _ROOT_PATH _PATH_VARLOG "/connect-errors"
59 #define _PATH_PEERFILES _ROOT_PATH "/etc/ppp/peers/"
60 #define _PATH_RESOLV _ROOT_PATH "/etc/ppp/resolv.conf"
62 #define _PATH_USEROPT ".ppprc"
63 #define _PATH_PSEUDONYM ".ppp_pseudonym"
65 #ifdef PPP_WITH_IPV6CP
66 #define _PATH_IPV6UP _ROOT_PATH "/etc/ppp/ipv6-up"
67 #define _PATH_IPV6DOWN _ROOT_PATH "/etc/ppp/ipv6-down"
71 #define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd2.tdb"
73 #define _PATH_PPPDB _PPP_VARRUN "pppd2.tdb"
76 #endif /* PPP_PATHNAMES_H */