This commit is contained in:
xdrm-brackets 2017-01-22 19:07:32 +01:00
parent f5cea69706
commit b64351060c
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,8 @@ step8(){
#sudo ln -fs /etc/systemd/system/autologin@.service /mnt/etc/systemd/system/getty.target.wants/getty@tty1.service; #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; 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"; echo "<<< done";