use telinit u instead of systemctl daemon-reexec
This commit is contained in:
parent
f93155a332
commit
088ce49da9
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ clear_processes() {
|
|||
swapoff -a
|
||||
|
||||
echo "Restarting systemd..."
|
||||
systemctl daemon-reexec --no-block
|
||||
telinit u
|
||||
sleep 15
|
||||
|
||||
echo "Killing all programs still using the old root..."
|
||||
|
|
Loading…
Reference in a new issue