summaryrefslogtreecommitdiff
path: root/system/s6-linux-init/s6-linux-init.pre-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'system/s6-linux-init/s6-linux-init.pre-deinstall')
-rw-r--r--system/s6-linux-init/s6-linux-init.pre-deinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/s6-linux-init/s6-linux-init.pre-deinstall b/system/s6-linux-init/s6-linux-init.pre-deinstall
new file mode 100644
index 000000000..bc72c70a0
--- /dev/null
+++ b/system/s6-linux-init/s6-linux-init.pre-deinstall
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+# apk does not handle fifos correctly.
+
+exec rm -f /etc/s6-linux-init/current/run-image/service/s6-linux-init-shutdownd/fifo