Multiple updates and fixes; needs bash and xbps>=0.21.
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user