Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
CzechLight
/
br2-external
/
792b8b16338342f4d98793c5e73888026adb80e6
/
.
/
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)'