Remove account creation prompt and related code from omada-controller.sh

This commit is contained in:
2026-02-21 20:40:09 +01:00
parent 63762cb269
commit 777cf9ce32

View File

@@ -39,7 +39,3 @@ if [ -f "/etc/iptables/rules.v4" ]; then
sed -i '/^-A INPUT -i lo -j ACCEPT.*/a # Omada' /etc/iptables/rules.v4
iptables-restore /etc/iptables/rules.v4
fi
IPV4=$(ip addr | grep 'inet ' | grep -v '127.0' | head -n1 | awk '{print $2}' | cut -f1 -d /)
whiptail --msgbox "Create an account before reboot.\nhttp://${IPV4}:8088" 0 0
sleep 10