diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd-compat-units/machineid.service')
-rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units/machineid.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-compat-units/machineid.service b/meta/recipes-core/systemd/systemd-compat-units/machineid.service new file mode 100644 index 0000000000..cab8f76ab8 --- /dev/null +++ b/meta/recipes-core/systemd/systemd-compat-units/machineid.service @@ -0,0 +1,16 @@ +[Unit] +Description=Machine ID first boot configure +DefaultDependencies=no +ConditionPathExists=|!/etc/machine-id +After=remount-rootfs.service +Before=sysinit.target + +[Service] +ExecStart=/bin/systemd-machine-id-setup +RemainAfterExit=No +Type=oneshot +StandardOutput=syslog + +[Install] +WantedBy=basic.target +WantedBy=sysinit.target |