init: fix http check

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2025-10-04 14:02:03 +02:00
parent 010ba85159
commit 0ba43150b8

View File

@@ -199,8 +199,9 @@ IPCON=""
echo -e "\033[1;37mDetected ${ETHN} NIC:\033[0m"
echo
[ ! -f /var/run/dhcpcd/pid ] && /etc/init.d/S41dhcpcd restart >/dev/null 2>&1 && sleep 3 || true
[ ! -f /var/run/dhttpd/pid ] && /etc/init.d/S90thttpd restart >/dev/null 2>&1 && sleep 3 || true
[ ! -f /var/run/dhcpcd/pid ] && /etc/init.d/S41dhcpcd restart >/dev/null 2>&1 || true
[ ! -f /var/run/thttpd.pid ] && /etc/init.d/S90thttpd restart >/dev/null 2>&1 || true
sleep 3
checkNIC
echo