Reconfigure console fonts to not use /tmp, fixes #1
This commit is contained in:
parent
1b21b1ec6c
commit
0a232bcc22
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SOURCE_DIR=$(realpath $(dirname "${0}"))
|
SOURCE_DIR=$(realpath $(dirname "${0}"))
|
||||||
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
|
|
||||||
# Uninstall unnecessary packages
|
# Uninstall unnecessary packages
|
||||||
apt-get -y purge bsdmainutils dictionaries-common emacsen-common iamerican ibritish ienglish-common installation-report ispell laptop-detect nano os-prober task-english tasksel tasksel-data wamerican
|
apt-get -y purge bsdmainutils dictionaries-common emacsen-common iamerican ibritish ienglish-common installation-report ispell laptop-detect nano os-prober task-english tasksel tasksel-data wamerican
|
||||||
@ -47,6 +48,7 @@ cp ${SOURCE_DIR}/basic/etc/default/grub /etc/default/grub
|
|||||||
# Set legal banner with URL + latin2 character set
|
# Set legal banner with URL + latin2 character set
|
||||||
cp ${SOURCE_DIR}/basic/etc/default/console-setup /etc/default/console-setup
|
cp ${SOURCE_DIR}/basic/etc/default/console-setup /etc/default/console-setup
|
||||||
cp ${SOURCE_DIR}/basic/etc/issue /etc/issue
|
cp ${SOURCE_DIR}/basic/etc/issue /etc/issue
|
||||||
|
dpkg-reconfigure console-setup
|
||||||
|
|
||||||
# Forbid login on tty1, disable tty2-6
|
# Forbid login on tty1, disable tty2-6
|
||||||
cp ${SOURCE_DIR}/basic/lib/systemd/system/getty@.service /lib/systemd/system/getty@.service
|
cp ${SOURCE_DIR}/basic/lib/systemd/system/getty@.service /lib/systemd/system/getty@.service
|
||||||
@ -62,7 +64,6 @@ update-grub
|
|||||||
#####
|
#####
|
||||||
|
|
||||||
# Preconfigure
|
# Preconfigure
|
||||||
export DEBIAN_FRONTEND="noninteractive"
|
|
||||||
echo postfix postfix/main_mailer_type string "Satellite system" | debconf-set-selections
|
echo postfix postfix/main_mailer_type string "Satellite system" | debconf-set-selections
|
||||||
echo postfix postfix/mailname string "$(hostname -f)" | debconf-set-selections
|
echo postfix postfix/mailname string "$(hostname -f)" | debconf-set-selections
|
||||||
echo postfix postfix/relayhost string "" | debconf-set-selections
|
echo postfix postfix/relayhost string "" | debconf-set-selections
|
||||||
|
Loading…
Reference in New Issue
Block a user