Skip to content

A live bird collage card for your Home Assistant dashboard.

fix: /etc/systemd/system/[email protected] does not exist on Raspbian Bullseye

frederikc4a4cba8e2ef
diff --git a/scripts/install_services.sh b/scripts/install_services.sh
index 4173cddd..0bc969f1 100755
--- a/scripts/install_services.sh
+++ b/scripts/install_services.sh
@@ -99,6 +99,9 @@ set_login() {
if ! [ -d /etc/lightdm ];then
systemctl set-default multi-user.target
ln -fs /lib/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected]
+ if ! [ -d /etc/systemd/system/[email protected] ];then
+ mkdir /etc/systemd/system/[email protected]
+ fi
cat > /etc/systemd/system/[email protected]/autologin.conf << EOF
[Service]
ExecStart=