Multiple updates and fixes; needs bash and xbps>=0.21.

This commit is contained in:
Juan RP
2013-03-11 23:52:40 +01:00
parent b1655acba5
commit b7aa53a6c6
7 changed files with 93 additions and 96 deletions

View File

@@ -20,6 +20,10 @@ if [ -f ${NEWROOT}/etc/sudoers ]; then
echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers
fi
chroot ${NEWROOT} systemctl disable graphical.target
chroot ${NEWROOT} systemctl enable multi-user.target
touch ${NEWROOT}/etc/sysctl.conf
# Enable autologin for agetty(8).
if [ -f ${NEWROOT}/usr/lib/systemd/system/getty@.service ]; then
rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service"