Last active
April 30, 2019 07:43
-
-
Save billz/fccee23a43122984f55d17db95e76137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
function update_system_packages() { | |
install_log "Updating sources" | |
sudo apt-get update || install_error "Unable to update package list" | |
} | |
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" | |
} | |
install_raspap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment