On Qua, 2014-12-24 at 08:14 -0600, Glenn Holmer wrote:
This page:
https://fedoraproject.org/wiki/Systemd#How_do_I_know_the_current_target.3F
says to use "systemctl get-default", but that's clearly wrong:
[root@shoggoth ~]# systemctl get-default
graphical.target
[root@shoggoth ~]# who -r
run-level 5 2014-12-24 07:49
[root@shoggoth ~]# systemctl isolate multi-user
[root@shoggoth ~]# systemctl get-default
graphical.target
[root@shoggoth ~]# who -r
run-level 3 2014-12-24 08:12 last=5
[root@shoggoth ~]# systemctl default
[root@shoggoth ~]# systemctl get-default
graphical.target
[root@shoggoth ~]# who -r
run-level 5 2014-12-24 08:12 last=3
[root@shoggoth ~]#
What's the correct command?
cd /etc/systemd/system
ll default.target
lrwxrwxrwx 1 root root 36 Dez 24 15:07 default.target
-> /lib/systemd/system/graphical.target
To change I used :
ln -s /lib/systemd/system/graphical.target default.target -f
ll /lib/systemd/system/*target
--
Sérgio M. B.