From d608eb9c266cba18172ec25d1ca3e35475fe6cc7 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 31 Dec 2022 21:59:39 -0500 Subject: [PATCH] Fixes a network name bug. --- packages/sysutils/autostart/sources/common/008-network | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/sysutils/autostart/sources/common/008-network b/packages/sysutils/autostart/sources/common/008-network index 4b71401fe..c58ec753d 100755 --- a/packages/sysutils/autostart/sources/common/008-network +++ b/packages/sysutils/autostart/sources/common/008-network @@ -23,3 +23,9 @@ elif [ "$(get_setting wifi.enabled)" == "1" ] || [ "$1" == "enable" ] then nohup wifictl enable & fi + +NETCHECK=$(systemctl status connman >/dev/null 2>&1) +if [ "$?" = "0" ] +then + systemctl restart connman +fi