backup-fs: debug in a shell
parent
8bcfeaee57
commit
61646d9d04
|
@ -27,21 +27,8 @@ function yesno {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# Overlay should still be mounted, right?
|
#TODO: remove
|
||||||
|
bash -i < $TTY_OR_CONSOLE
|
||||||
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: refuse to run if system is running
|
#TODO: refuse to run if system is running
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue