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
|
swapoff -a
|
||||||
|
|
||||||
echo "Restarting systemd..."
|
echo "Restarting systemd..."
|
||||||
systemctl daemon-reexec --no-block
|
telinit u
|
||||||
sleep 15
|
sleep 15
|
||||||
|
|
||||||
echo "Killing all programs still using the old root..."
|
echo "Killing all programs still using the old root..."
|
||||||
|
|
Loading…
Reference in a new issue