]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core86: restart init while update to close open glibc files.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 7 Dec 2014 10:19:05 +0000 (11:19 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 7 Dec 2014 10:19:05 +0000 (11:19 +0100)
config/rootfiles/core/86/update.sh

index c1ea59c4ee6e5d720a0120a3f0d82a8cc7dfbb1c..c58780bce7c40570425936288cf7f46f76b1e7d1 100644 (file)
@@ -125,6 +125,10 @@ esac
 #Extract files
 tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C /
 
+#
+#restart init because glibc was updated.
+telinit i
+
 # Check diskspace on boot
 BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`