aboutsummaryrefslogtreecommitdiff
path: root/airootfs/root/customize_airootfs.sh
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-16 20:34:12 -0500
committerAlee <alee14498@gmail.com>2018-02-16 20:34:12 -0500
commit0de20832b0a2919f799d14c6cad5579afe132bf3 (patch)
treeb2fc5eb6bbb5ffc604bcdae20cfa263346b72b5c /airootfs/root/customize_airootfs.sh
parente8d6a6cd916351b86070254d739e4932841aed35 (diff)
downloadProject-Caelus-0de20832b0a2919f799d14c6cad5579afe132bf3.tar.gz
Project-Caelus-0de20832b0a2919f799d14c6cad5579afe132bf3.tar.bz2
Project-Caelus-0de20832b0a2919f799d14c6cad5579afe132bf3.zip
Moved files
Diffstat (limited to 'airootfs/root/customize_airootfs.sh')
-rwxr-xr-xairootfs/root/customize_airootfs.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/airootfs/root/customize_airootfs.sh b/airootfs/root/customize_airootfs.sh
deleted file mode 100755
index db64875..0000000
--- a/airootfs/root/customize_airootfs.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/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
-
-usermod -s /usr/bin/bash root
-cp -aT /etc/skel/ /root/
-chmod 700 /root
-
-sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
-sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
-sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
-
-sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
-sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
-sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
-
-systemctl enable pacman-init.service choose-mirror.service
-systemctl set-default multi-user.target