Remove account creation prompt and related code from omada-controller.sh
This commit is contained in:
@@ -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
|
sed -i '/^-A INPUT -i lo -j ACCEPT.*/a # Omada' /etc/iptables/rules.v4
|
||||||
iptables-restore /etc/iptables/rules.v4
|
iptables-restore /etc/iptables/rules.v4
|
||||||
fi
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user