summaryrefslogtreecommitdiff
path: root/base/rm-keyfile.service
diff options
context:
space:
mode:
Diffstat (limited to 'base/rm-keyfile.service')
-rw-r--r--base/rm-keyfile.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/rm-keyfile.service b/base/rm-keyfile.service
new file mode 100644
index 0000000..8d95fa1
--- /dev/null
+++ b/base/rm-keyfile.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=rm keyfile
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c 'rm /boot/keyfile || true'
+
+[Install]
+WantedBy=multi-user.target