mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
blah
This commit is contained in:
parent
5ca32b6f36
commit
cc1335f1a9
1 changed files with 6 additions and 1 deletions
7
setup.sh
7
setup.sh
|
|
@ -122,7 +122,12 @@ echo "📡 Installing and configuring WiFi hotspot and captive portal..."
|
||||||
|
|
||||||
if [ "$PKG_MANAGER" == "apt" ]; then
|
if [ "$PKG_MANAGER" == "apt" ]; then
|
||||||
# Install dependencies for hotspot and for building nodogsplash
|
# Install dependencies for hotspot and for building nodogsplash
|
||||||
sudo apt install -y hostapd dnsmasq git libmicrohttpd-dev libjson-c-dev
|
sudo apt install -y hostapd dnsmasq git libmicrohttpd-dev libjson-c-dev iptables
|
||||||
|
|
||||||
|
# Force iptables-legacy for nodogsplash compatibility
|
||||||
|
echo "Setting iptables-legacy mode for nodogsplash..."
|
||||||
|
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||||
|
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||||
|
|
||||||
echo "Building and installing nodogsplash from source..."
|
echo "Building and installing nodogsplash from source..."
|
||||||
# Create a temporary directory for the build
|
# Create a temporary directory for the build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue