#!/command/execlineb -P

# This file is run when an unrecoverable error happens
# to s6-svscan. Edit it to suit your needs.

cd /
redirfd -r 0 /dev/console
redirfd -w 1 /dev/console
fdmove -c 2 1

foreground { s6-echo "s6-svscan panicked! Dropping to a root shell.\n" }

/bin/sh -i
