aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/slugos-init/files/initscripts/rmrecovery
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/slugos-init/files/initscripts/rmrecovery')
-rw-r--r--recipes/slugos-init/files/initscripts/rmrecovery4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/slugos-init/files/initscripts/rmrecovery b/recipes/slugos-init/files/initscripts/rmrecovery
new file mode 100644
index 0000000000..eec822b154
--- /dev/null
+++ b/recipes/slugos-init/files/initscripts/rmrecovery
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Run to remove /.recovery if the boot seems to have succeeded
+test -e /.recovery && rm -f /.recovery
+exit 0