78fe656042
Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
14 lines
350 B
Bash
Executable File
14 lines
350 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e -u
|
|
|
|
echo 'Warning: customize_airootfs.sh is deprecated! Support for it will be removed in a future archiso version.'
|
|
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
locale-gen
|
|
|
|
cp -aT /etc/skel/ /root/
|
|
|
|
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
|
|
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|