2017-10-29 05:31:51 +01:00
|
|
|
<?php
|
|
|
|
|
2018-05-27 17:47:09 +02:00
|
|
|
define('RASPI_VERSION', '1.3.1');
|
2017-10-29 05:31:51 +01:00
|
|
|
define('RASPI_CONFIG', '/etc/raspap');
|
|
|
|
define('RASPI_CONFIG_NETWORKING',RASPI_CONFIG.'/networking');
|
|
|
|
define('RASPI_ADMIN_DETAILS', RASPI_CONFIG.'/raspap.auth');
|
2017-12-07 20:14:20 +01:00
|
|
|
define('RASPI_WIFI_CLIENT_INTERFACE', 'wlan0');
|
2017-10-29 05:31:51 +01:00
|
|
|
|
|
|
|
// Constants for configuration file paths.
|
|
|
|
// These are typical for default RPi installs. Modify if needed.
|
|
|
|
define('RASPI_DNSMASQ_CONFIG', '/etc/dnsmasq.conf');
|
|
|
|
define('RASPI_DNSMASQ_LEASES', '/var/lib/misc/dnsmasq.leases');
|
|
|
|
define('RASPI_HOSTAPD_CONFIG', '/etc/hostapd/hostapd.conf');
|
|
|
|
define('RASPI_WPA_SUPPLICANT_CONFIG', '/etc/wpa_supplicant/wpa_supplicant.conf');
|
|
|
|
define('RASPI_HOSTAPD_CTRL_INTERFACE', '/var/run/hostapd');
|
|
|
|
define('RASPI_WPA_CTRL_INTERFACE', '/var/run/wpa_supplicant');
|
|
|
|
define('RASPI_OPENVPN_CLIENT_CONFIG', '/etc/openvpn/client.conf');
|
|
|
|
define('RASPI_OPENVPN_SERVER_CONFIG', '/etc/openvpn/server.conf');
|
|
|
|
define('RASPI_TORPROXY_CONFIG', '/etc/tor/torrc');
|
|
|
|
|
|
|
|
// Optional services, set to true to enable.
|
2017-12-07 20:14:20 +01:00
|
|
|
define('RASPI_HOTSPOT_ENABLED', true );
|
|
|
|
define('RASPI_NETWORK_ENABLED', true );
|
|
|
|
define('RASPI_DHCP_ENABLED', true );
|
2017-10-29 05:31:51 +01:00
|
|
|
define('RASPI_OPENVPN_ENABLED', false );
|
|
|
|
define('RASPI_TORPROXY_ENABLED', false );
|
2017-12-07 20:14:20 +01:00
|
|
|
define('RASPI_CONFAUTH_ENABLED', true );
|
|
|
|
define('RASPI_CHANGETHEME_ENABLED', true );
|
2017-10-29 05:31:51 +01:00
|
|
|
|
2018-05-27 10:45:34 +02:00
|
|
|
// Locale settings
|
|
|
|
define('LOCALE_ROOT', 'locale');
|
|
|
|
define('LOCALE_DOMAIN', 'messages');
|
|
|
|
|
2017-10-29 05:31:51 +01:00
|
|
|
?>
|