backup-fs: debug in a shell

master
BodgeMaster 2023-06-29 14:33:05 +02:00
parent 8bcfeaee57
commit 61646d9d04
1 changed files with 2 additions and 15 deletions

View File

@ -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