bugfix
This commit is contained in:
parent
405dfe8afb
commit
00f10fc526
|
@ -242,9 +242,9 @@ step8(){
|
||||||
|
|
||||||
# (2) Link autologin to tty service #
|
# (2) Link autologin to tty service #
|
||||||
echo " (.) Link autologin script to tty's default";
|
echo " (.) Link autologin script to tty's default";
|
||||||
sudo cat /etc/systemd/system/autologin@.service \
|
sudo cat /mnt/etc/systemd/system/autologin@.service \
|
||||||
| sed 's/ pi / sats-user /' \
|
| sed 's/ pi / sats-user /' \
|
||||||
| sudo tee /etc/systemd/system/autologin2@.service > /dev/null;
|
| sudo tee /mnt/etc/systemd/system/autologin2@.service > /dev/null;
|
||||||
sudo ln -fs /etc/systemd/system/autologin2@.service /mnt/etc/systemd/system/getty.target.wants/getty@tty1.service;
|
sudo ln -fs /etc/systemd/system/autologin2@.service /mnt/etc/systemd/system/getty.target.wants/getty@tty1.service;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue