|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
raspap_dir="/etc/raspap"
|
|
|
|
|
raspap_user="www-data"
|
|
|
|
|
webroot_dir="/var/www/html"
|
|
|
|
|
version=$(lsb_release -sc) #``sed 's/\..*//' /etc/debian_version`
|
|
|
|
|
version=$(lsb_release -sc)
|
|
|
|
|
|
|
|
|
|
# Determine version, set default home location for lighttpd and
|
|
|
|
|
# php package to install
|
|
|
|
@ -108,6 +108,7 @@ function common_interfaces() {
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# This section no longer used but may retain value for patching service
|
|
|
|
|
function stop_lokinet(){
|
|
|
|
|
install_log "stop lokinet and patch hostapd restart to service"
|
|
|
|
|
sudo systemctl stop lokinet.service
|
|
|
|
@ -442,7 +443,7 @@ function install_raspap() {
|
|
|
|
|
update_system_packages
|
|
|
|
|
install_dependencies
|
|
|
|
|
common_interfaces
|
|
|
|
|
stop_lokinet
|
|
|
|
|
# stop_lokinet
|
|
|
|
|
check_for_networkmananger
|
|
|
|
|
optimize_php
|
|
|
|
|
enable_php_lighttpd
|
|
|
|
|