From d711afd0990e345f28f98dbd39e360d3d0830a69 Mon Sep 17 00:00:00 2001 From: nagumii Date: Tue, 17 Dec 2024 21:50:00 +0200 Subject: [PATCH] try fix usb config can't run --- .../sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh | 1 - 1 file changed, 1 deletion(-) 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 f9ae5f8..baee1a7 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 @@ -17,7 +17,6 @@ EOF # set meshtastic nodeid to derivative of CPU serial number (unique to this board). Check at boot in case of upgrade overwriting this. seed=$(printf "%d\n" 0x$(awk '/Serial/ {print $3}' /proc/cpuinfo) | tail -c 9) #seed=$((0x$(awk '/Serial/ {print $3}' /proc/cpuinfo) & 0x3B9AC9FF)) -sed -i "/^ExecStart=/ s:$: -h $seed:" /usr/lib/systemd/system/meshtasticd.service msg="First boot: Using Luckfox CPU S/N to generate nodeid for Meshtastic." echo "$msg" logger "$msg"