mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 10:22:02 +00:00
fix nodog install issue
This commit is contained in:
parent
360e0751f2
commit
3c73a0487b
1 changed files with 2 additions and 2 deletions
4
setup.sh
4
setup.sh
|
|
@ -218,7 +218,7 @@ sudo tee /etc/nodogsplash/nodogsplash.conf > /dev/null <<EOF
|
|||
GatewayInterface wlan0
|
||||
GatewayAddress 10.0.252.1
|
||||
MaxClients 250
|
||||
ClientIdleTimeout 480
|
||||
AuthIdleTimeout 480
|
||||
# Enable DHCP server in nodogsplash
|
||||
DHCPInterface wlan0
|
||||
DHCPStartAddress 10.0.252.10
|
||||
|
|
@ -292,7 +292,7 @@ echo "✅ Directory $INSTALL_DIR created."
|
|||
|
||||
# 3. Install binary and static web files
|
||||
echo "🚀 Installing timeturner binary and web assets..."
|
||||
sudo cp target/release/ntp_tim_turner $INSTALL_DIR/timeturner
|
||||
sudo cp target/release/ntp_timeturner $INSTALL_DIR/timeturner
|
||||
# The static directory contains the web UI files
|
||||
sudo cp -r static $INSTALL_DIR/
|
||||
sudo ln -sf $INSTALL_DIR/timeturner $BIN_DIR/timeturner
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue