Skip to content

Instantly share code, notes, and snippets.

@billz
Last active April 30, 2019 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billz/fccee23a43122984f55d17db95e76137 to your computer and use it in GitHub Desktop.
Save billz/fccee23a43122984f55d17db95e76137 to your computer and use it in GitHub Desktop.
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