diff options
author | Juan RP <xtraeme@gmail.com> | 2013-03-11 23:52:40 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-03-11 23:52:40 +0100 |
commit | b7aa53a6c615f86ea0edd1eabec08b8b0984eaf6 (patch) | |
tree | f788a7e712dfb0081065309ad236c3f1a8d87231 /dracut/adduser.sh | |
parent | b1655acba5e6dbed7cacb1eb26d8ec99ebc879d0 (diff) | |
download | hrmpf-b7aa53a6c615f86ea0edd1eabec08b8b0984eaf6.tar.gz hrmpf-b7aa53a6c615f86ea0edd1eabec08b8b0984eaf6.tar.xz hrmpf-b7aa53a6c615f86ea0edd1eabec08b8b0984eaf6.zip |
Multiple updates and fixes; needs bash and xbps>=0.21.
Diffstat (limited to 'dracut/adduser.sh')
-rw-r--r-- | dracut/adduser.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh index e242529..f3aa323 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -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" |