From ea4267fac55c7d8a6093a6b03ff0e9c795786d3e Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 23:14:41 +0000 Subject: reorganised --- xi/s6/base/run-image/service/.s6-svscan/crash | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 xi/s6/base/run-image/service/.s6-svscan/crash (limited to 'xi/s6/base/run-image/service/.s6-svscan/crash') diff --git a/xi/s6/base/run-image/service/.s6-svscan/crash b/xi/s6/base/run-image/service/.s6-svscan/crash new file mode 100755 index 0000000..e5a9440 --- /dev/null +++ b/xi/s6/base/run-image/service/.s6-svscan/crash @@ -0,0 +1,6 @@ +#!/bin/execlineb -P + +redirfd -w 2 /dev/console +fdmove -c 1 2 +foreground { s6-linux-init-echo -- "s6-svscan crashed. Rebooting." } +s6-linux-init-hpr -fr -- cgit v1.2.1