2016-06-16 12:03:29 +02:00
|
|
|
UPDATE_URL="https://raw.githubusercontent.com/billz/raspap-webgui/master/"
|
|
|
|
wget -q ${UPDATE_URL}/installers/common.sh -O /tmp/raspapcommon.sh
|
|
|
|
source /tmp/raspapcommon.sh && rm -f /tmp/raspapcommon.sh
|
|
|
|
|
|
|
|
function update_system_packages() {
|
|
|
|
install_log "Updating sources"
|
2016-06-16 15:16:54 +02:00
|
|
|
sudo apt-get update || install_error "Unable to update package list"
|
2016-06-16 12:03:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function install_dependencies() {
|
|
|
|
install_log "Installing required packages"
|
2016-10-23 19:25:07 +02:00
|
|
|
sudo apt-get install lighttpd php5-cgi git hostapd dnsmasq || install_error "Unable to install dependencies"
|
2016-06-16 12:03:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
install_raspap
|