mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
183f04f53f
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
15 lines
571 B
Bash
Executable file
15 lines
571 B
Bash
Executable file
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"
|
|
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
|