summaryrefslogtreecommitdiff
path: root/packages/foonas-init/files/initscripts/rmrecovery
diff options
context:
space:
mode:
Diffstat (limited to 'packages/foonas-init/files/initscripts/rmrecovery')
-rw-r--r--packages/foonas-init/files/initscripts/rmrecovery4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/foonas-init/files/initscripts/rmrecovery b/packages/foonas-init/files/initscripts/rmrecovery
new file mode 100644
index 0000000000..eec822b154
--- /dev/null
+++ b/packages/foonas-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