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