mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-26 19:02:00 -04:00
Update rc.local
This commit is contained in:
parent
35c1c386df
commit
bc3fd9ec99
1 changed files with 1 additions and 2 deletions
|
|
@ -18,9 +18,8 @@ fi
|
|||
if ! grep -q "^ExecStart=.*--hwid" /usr/lib/systemd/system/meshtasticd.service; then
|
||||
sed -i "/^ExecStart=/ s:$: --hwid $((0x$(awk '/Serial/ {print $3}' /proc/cpuinfo) & 0xFFFFFFFF)):" /usr/lib/systemd/system/meshtasticd.service
|
||||
echo "Used Luckfox CPU S/N to generate unique nodeid seed for Meshtastic."
|
||||
systemctl stop meshtasticd
|
||||
systemctl daemon-reload
|
||||
systemctl start meshtasticd
|
||||
systemctl restart meshtasticd
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue