lib-check-system.sh fixed the pause function to actually pause and wait for input