From 58a4346b19ec953289ac5795df8d9df2f8c66968 Mon Sep 17 00:00:00 2001 From: nagumii Date: Tue, 17 Dec 2024 11:05:31 +0200 Subject: [PATCH] Update runonce.sh --- .../out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh index 655dd79..7d0ca75 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh @@ -22,8 +22,17 @@ msg="First boot: Using Luckfox CPU S/N to generate nodeid for Meshtastic." echo "$msg" logger "$msg" systemctl daemon-reload +msg="daemon reloaded" +echo "$msg" +logger "$msg" systemctl enable meshtasticd +msg="meshtasticd enabled" +echo "$msg" +logger "$msg" systemctl start meshtasticd +msg="meshtasticd started" +echo "$msg" +logger "$msg" # enable wifi in meshtastic settings. Because this is very important, we'll try 10 times. msg="First boot: Enabling wifi setting in Meshtasticd."