Skip to content

Commit

Permalink
stage4: fix autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign authored and fuji246 committed Sep 13, 2019
1 parent 22d1ff7 commit 0c7ca38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stage4/01-console-autologin/00-run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash -e

ln -sf /etc/systemd/system/[email protected] \
"${ROOTFS_DIR}/etc/systemd/system/getty.target.wants/[email protected]"
on_chroot << EOF
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_behaviour B4
EOF

0 comments on commit 0c7ca38

Please sign in to comment.