From 088ce49da90f5aa1d2cc212bb7288c5f3ff15b2b Mon Sep 17 00:00:00 2001 From: James Swineson Date: Sat, 13 Apr 2019 10:49:47 +0800 Subject: [PATCH] use telinit u instead of systemctl daemon-reexec --- menhera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menhera.sh b/menhera.sh index a512a28..7942f3a 100755 --- a/menhera.sh +++ b/menhera.sh @@ -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..."