]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/core/149/update.sh
core149: restart init at update
[ipfire-2.x.git] / config / rootfiles / core / 149 / update.sh
index 63e10efaaf6b3b874fe67db71e31245b68973c8e..38f80529f48a6b78e5576e3fe53ef86c33d9af98 100644 (file)
@@ -32,7 +32,8 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Remove files
-#rm -vf \
+rm -rvf \
+       /usr/share/vim/vim81
 
 # Stop services
 
@@ -42,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
 
@@ -49,8 +53,9 @@ ldconfig
 /usr/local/bin/filesystem-cleanup
 
 # Start services
-/etc/init.d/apache2 restart
+/etc/init.d/apache restart
 /etc/init.d/unbound restart
+/etc/init.d/squid restart
 
 # Update crontab
 sed -i /var/spool/cron/root.orig \