diff --git a/clone/clone b/clone/clone index fbff10d..13b4acc 100755 --- a/clone/clone +++ b/clone/clone @@ -251,7 +251,8 @@ step8(){ #sudo ln -fs /etc/systemd/system/autologin@.service /mnt/etc/systemd/system/getty.target.wants/getty@tty1.service; sudo mkdir -pv /mnt/etc/systemd/system/getty@tty1.service.d; - echo -e "[Service]\nExecStart=\nExecStart=-/sbin/agetty --autologin sats-user --noclear I 38400 linux" | sudo tee /mnt/etc/systemd/systen/getty@tty1.service.d/autologin.conf > /dev/null; + sudo touch /mnt/etc/systemd/system/getty@tty1.service.d/autologin.conf; + echo -e "[Service]\nExecStart=\nExecStart=-/sbin/agetty --autologin sats-user --noclear I 38400 linux" | sudo tee /mnt/etc/systemd/system/getty@tty1.service.d/autologin.conf > /dev/null; echo "<<< done";