This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
gi-psl/iso/initrd-override-amd64/lib/debian-installer-startup.d/S60auto-install

18 lines
461 B
Bash
Executable File

#! /bin/sh
. /usr/share/debconf/confmodule
if db_get auto-install/enable && [ "$RET" = true ]; then
# find at least one preseed
if [ -e /preseed.cfg ] ||
{ db_get preseed/url && [ "$RET" ]; } ||
{ db_get preseed/file && [ "$RET" ]; }; then
# disable locale & kbd selection
# commented by entr'ouvert # echo 1 >/var/run/auto-install.active
:
else
# register that no preseed was specified
touch /var/run/preseed_unspecified_at_boot
fi
fi