Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
CzechLight
/
br2-external
/
f093bc30d3ec42f112780c945931f033e4ae4462
/
.
/
board
/
czechlight
/
clearfog
/
overlay
/
usr
/
lib
/
systemd
/
system
/
save-machineid-to-uboot.service
blob: 892411b1024b1c6a4b6b5d7f6eff2da57fd5fb73 [
file
] [
log
] [
blame
]
[
Unit
]
Description
=
Save
the machine
-
id
into
U
-
Boot
environment
if
not
set
[
Service
]
Type
=
oneshot
ExecStart
=
/bin/
sh
-
c
'fw_printenv machineid &>/dev/null || fw_setenv machineid $(cat /etc/machine-id)'