]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core149: restart init at update
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Sep 2020 14:57:55 +0000 (14:57 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Sep 2020 14:57:55 +0000 (14:57 +0000)
this is needed to allow clean unmount at reboot because
init has some files open and the binary was replaced
at glibc update.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/149/update.sh

index 50add169b4df06630e0e1d4da1353cddeb6ec810..38f80529f48a6b78e5576e3fe53ef86c33d9af98 100644 (file)
@@ -43,6 +43,9 @@ extract_files
 # update linker config
 ldconfig
 
+# Restart init to allow clean unmout at reboot
+telinit u
+
 # Update Language cache
 /usr/local/bin/update-lang-cache