summaryrefslogtreecommitdiffstats
path: root/src/lib/service/system/.s6-svscan/finish
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/service/system/.s6-svscan/finish')
-rwxr-xr-xsrc/lib/service/system/.s6-svscan/finish9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/service/system/.s6-svscan/finish b/src/lib/service/system/.s6-svscan/finish
new file mode 100755
index 0000000..38c3c9c
--- /dev/null
+++ b/src/lib/service/system/.s6-svscan/finish
@@ -0,0 +1,9 @@
+#!@shebangdir@/execlineb -P
+
+
+redirfd -w 2 /dev/console
+fdmove -c 1 2
+
+foreground { echo "s6-svscan exited. Rebooting." }
+
+shutdown -o -r now