Manojkiran Eda | fec5d59 | 2021-01-21 12:27:34 +0530 | [diff] [blame] | 1 | [Unit] |
2 | Description=Create empty PHYP-NVRAM-CKSUM file | ||||
3 | ConditionPathExists=!/var/lib/pldm/PHYP-NVRAM-CKSUM | ||||
4 | |||||
5 | [Service] | ||||
6 | ExecStart=/bin/mkdir -p /var/lib/pldm/ | ||||
7 | ExecStart=/bin/dd if=/dev/zero of=/var/lib/pldm/PHYP-NVRAM-CKSUM bs=16 count=1 | ||||
8 | Type=oneshot | ||||
9 | RemainAfterExit=no | ||||
10 | |||||
11 | [Install] | ||||
12 | WantedBy=pldmd.service |