From 61646d9d04ff918379e89acda4f8fdf848b4c815 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Thu, 29 Jun 2023 14:33:05 +0200 Subject: [PATCH] backup-fs: debug in a shell --- opt/backup-fs | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/opt/backup-fs b/opt/backup-fs index 1632239..88dbd3b 100644 --- a/opt/backup-fs +++ b/opt/backup-fs @@ -27,21 +27,8 @@ function yesno { done } -# Overlay should still be mounted, right? - -cat /proc/mounts - -read -p " -press any key" -n1 DISCARD_ME < $TTY_OR_CONSOLE - -# And no services running? - -ps aux | grep -vF "[kworker" - -read -p " -press any key" -n1 DISCARD_ME < $TTY_OR_CONSOLE - -#TODO: remove above debugging sanity checks +#TODO: remove +bash -i < $TTY_OR_CONSOLE #TODO: refuse to run if system is running