double escape special chars

This commit is contained in:
pdxlocations 2025-02-10 13:02:02 -08:00
parent 96060c8804
commit f591a19481

View file

@ -1,6 +1,6 @@
[Service]
ExecStart=
ExecStart=/bin/sh -c '/usr/sbin/meshtasticd -h $(sed -n "/Serial/ s/^.*: \(.*\)$/\U\1/p" /proc/cpuinfo | bc | tail -c 9)'
ExecStart=/bin/sh -c '/usr/sbin/meshtasticd -h $(sed -n "/Serial/ s/^.*: \\(.*\\)$/\\U\\1/p" /proc/cpuinfo | bc | tail -c 9)'
Nice=-20
[Unit]