summaryrefslogtreecommitdiff
path: root/configs/talkingparabola/airootfs/root/customize_airootfs.sh
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-15 11:23:14 -0400
committerDavid P <megver83@parabola.nu>2020-07-15 11:23:14 -0400
commit8c48ab20168b51fa3893ad64bccd06411f205bb5 (patch)
tree0ffbef54dd818c3e4aefc11127850e11761b1de2 /configs/talkingparabola/airootfs/root/customize_airootfs.sh
parentf2d5583a9428f576a09023032a3e3bae95690b9a (diff)
[talkingparabola] sync with talkingarch
talking-arch isn't completely synced with Arch's releng, however I prefer to wait for them to do it, as they may introduce different stuff, or who knows :P Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/talkingparabola/airootfs/root/customize_airootfs.sh')
-rwxr-xr-xconfigs/talkingparabola/airootfs/root/customize_airootfs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/talkingparabola/airootfs/root/customize_airootfs.sh b/configs/talkingparabola/airootfs/root/customize_airootfs.sh
index 64c48a9..66679b2 100755
--- a/configs/talkingparabola/airootfs/root/customize_airootfs.sh
+++ b/configs/talkingparabola/airootfs/root/customize_airootfs.sh
@@ -10,6 +10,8 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
usermod -s /usr/bin/zsh root
cp -aT /etc/skel/ /root/
chmod 700 /root
+# unset the root password
+passwd -d root
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
@@ -19,7 +21,7 @@ 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 multi-user.target pacman-init.service choose-mirror.service livecd-alsa-unmuter.service brltty.service
+systemctl enable multi-user.target pacman-init.service choose-mirror.service systemd-networkd.service systemd-resolved.service livecd-alsa-unmuter.service brltty.service
systemctl set-default multi-user.target
sed -i "s/_DATE_/$(date +%Y.%m.%d)/" /etc/motd