diff --git a/scripts/functions.sh b/scripts/functions.sh index 19f6eaf..248dae3 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -263,7 +263,10 @@ extract_stage3() { disable_logging() { # Disables logging which is needed before exec-ing + # Restore stdion exec 1>&3 + # Close fd 3 + exec 3<&- } gentoo_umount() { @@ -274,6 +277,9 @@ gentoo_umount() { fi } +interactive_bash() { +} + gentoo_chroot() { if [[ $# -eq 0 ]]; then cat > "$TMP_DIR/.bashrc" <