2012-10-26 16:34:50 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e -u
|
|
|
|
|
|
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
|
|
locale-gen
|
|
|
|
|
|
|
|
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
|
|
|
|
2013-06-05 02:33:52 +02:00
|
|
|
usermod -s /usr/bin/zsh root
|
2012-10-26 16:34:50 +02:00
|
|
|
cp -aT /etc/skel/ /root/
|
|
|
|
|
2013-06-05 02:33:52 +02:00
|
|
|
useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/zsh arch
|
2012-10-26 16:34:50 +02:00
|
|
|
|
|
|
|
chmod 750 /etc/sudoers.d
|
|
|
|
chmod 440 /etc/sudoers.d/g_wheel
|
|
|
|
|
|
|
|
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|
2013-09-21 21:53:45 +02:00
|
|
|
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
|
2012-10-26 16:34:50 +02:00
|
|
|
|
2013-06-16 11:27:58 +02:00
|
|
|
systemctl enable multi-user.target pacman-init.service choose-mirror.service
|