mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update usr/local/bin/hotspot
This commit is contained in:
parent
4453731974
commit
f9d0816b46
@ -1,9 +1,9 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
echo "Checking for required packages and installing if missing"
|
||||
sudo apt update
|
||||
if [ $(dpkg-query -W -f='${Status}' apache2 2>/dev/null | grep -c "ok installed") -eq 0 ];
|
||||
then
|
||||
sudo apt update
|
||||
sudo apt -y install hostapd dnsmasq apache2 php
|
||||
fi
|
||||
echo "Configuring components..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user