čtvrtek 27. srpna 2015

Centos 7 initlevels

New concepts bring new difficulties. Why use the simple commands
"init 3" or "init 5", when we can type
"systemctl isolate multi-user.target" or "systemctl isolate graphical.target" instead?

Thus, I have two simple shortcut scripts in my  /root  folder:
cat > init_3
 systemctl isolate multi-user.target
chmod +x init_3


cat > init_5
 systemctl isolate graphical.target
chmod +x init_5


Update: 
a very simple solution:
use
telinit 3
or
telinit 5

Žádné komentáře:

Okomentovat