Jan Kundrát | b83fe12 | 2017-10-19 15:35:22 +0200 | [diff] [blame] | 1 | [Unit] |
2 | Description=Save the machine-id into U-Boot environment if not set | ||||
3 | |||||
4 | [Service] | ||||
5 | Type=oneshot | ||||
6 | ExecStart=/bin/sh -c 'fw_printenv machineid &>/dev/null || fw_setenv machineid $(cat /etc/machine-id)' |