From e1e2ca689661791ba38bf2572df8a65e36258ac2 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Tue, 29 Aug 2017 13:52:31 +1000 Subject: ui/ncurses: Spawn shell in exit handler In cui_on_exit()_ instead of exiting the program spawn a sh instance. This allows the user to drop to the shell and return without losing any custom boot options, for example. SIGINT still calls cui_abort() to properly exit Petitboot. Signed-off-by: Samuel Mendoza-Jonas --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2c2f23b..a4b5fc7 100644 --- a/configure.ac +++ b/configure.ac @@ -336,6 +336,7 @@ DEFINE_HOST_PROG(VGSCAN, vgscan, [/usr/sbin/vgscan]) DEFINE_HOST_PROG(VGCHANGE, vgchange, [/usr/sbin/vgchange]) DEFINE_HOST_PROG(PB_PLUGIN, pb-plugin, [/usr/sbin/pb-plugin]) DEFINE_HOST_PROG(PB_EXEC, pb-exec, [/usr/sbin/pb-exec]) +DEFINE_HOST_PROG(SH, sh, [/bin/sh]) AC_ARG_WITH( [tftp], -- cgit v1.2.1