5 sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
8 ln -sf /usr/share/zoneinfo/UTC /etc/localtime
15 sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
17 echo "LANG=en_US.UTF-8" > /etc/locale.conf
18 echo "LC_COLLATE=C" >> /etc/locale.conf
21 echo "KEYMAP=us" > /etc/vconsole.conf
24 ln -sf /usr/share/zoneinfo/UTC /etc/localtime
25 hwclock --systohc --utc
28 echo "pacbang" > /etc/hostname
29 echo -e "#<ip-address>\t<hostname.domain.org>\t<hostname>\n127.0.0.1\tlocalhost.localdomain\tlocalhost\n::1\tlocalhost\n127.0.1.1\tpacbang.localdomain\tpacbang\n" > /etc/hosts
31 usermod -s /usr/bin/zsh root
32 cp -aT /etc/skel/ /root/
36 useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/bash paclive
38 chmod 750 /etc/sudoers.d
39 chmod 440 /etc/sudoers.d/g_wheel
40 chown -R paclive:users /home/paclive
42 #sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
43 sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
44 sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
46 sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
47 sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
48 sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
50 systemctl disable dhcpcd.service
51 systemctl enable NetworkManager.service
52 systemctl enable pacman-init.service choose-mirror.service
53 systemctl set-default multi-user.target
54 #systemctl set-default graphical.target