# Sourced by rootskel, after the graphical environment starts and before USB discovery.
. /usr/lib/newworld-installer/mode
if [ "$(installation_mode)" = debug ]; then
    exec /usr/lib/newworld-installer/debug-mode
fi
if [ "$DEBIAN_FRONTEND" = gtk ] && [ -n "$DISPLAY" ]; then
    mkdir -p /run/newworld-install
    /usr/lib/newworld-installer/python /usr/lib/newworld-installer/names.py --prepare \
        </dev/null >/run/newworld-install/prepare.log 2>&1 3>&- 4>&- &
fi
