raspap-webgui-mirror/installers/raspbian.sh

16 lines
571 B
Bash
Raw Normal View History

2016-06-16 10:03:29 +00: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 13:16:54 +00:00
sudo apt-get update || install_error "Unable to update package list"
2016-06-16 10:03:29 +00:00
}
function install_dependencies() {
install_log "Installing required packages"
sudo apt-get install lighttpd $php_package git hostapd dnsmasq vnstat || install_error "Unable to install dependencies"
2016-06-16 10:03:29 +00:00
}
install_raspap