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