Fixed non-existant path for links
This commit is contained in:
parent
6a2b42dd97
commit
8cb6677b75
|
@ -238,11 +238,11 @@ step8(){
|
||||||
|
|
||||||
# (1) Create link in order to be handled #
|
# (1) Create link in order to be handled #
|
||||||
echo " (.) Emulate \`systemctl set-default multi-user.target\`";
|
echo " (.) Emulate \`systemctl set-default multi-user.target\`";
|
||||||
sudo ln -fs /mnt/lib/systemd/system/multi-user.target /mnt/etc/systemd/system/default.target;
|
sudo ln -fs /lib/systemd/system/multi-user.target /mnt/etc/systemd/system/default.target;
|
||||||
|
|
||||||
# (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 ln -fs /mnt/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;
|
||||||
|
|
||||||
|
|
||||||
echo "<<< done";
|
echo "<<< done";
|
||||||
|
|
Loading…
Reference in New Issue