From: Arne Fitzenreiter Date: Sat, 9 Dec 2023 08:38:28 +0000 (+0100) Subject: core181: stop udev and apache before replacing X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06c935a01b31e806226064bf95883f686a643604;p=ipfire-2.x.git core181: stop udev and apache before replacing update udev and apache while the running result in a hanging state that prevent restart and also save unmounting of "/" at reboot. Signed-off-by: Arne Fitzenreiter --- diff --git a/config/rootfiles/core/181/update.sh b/config/rootfiles/core/181/update.sh index 0dc22d1221..5248072dbd 100644 --- a/config/rootfiles/core/181/update.sh +++ b/config/rootfiles/core/181/update.sh @@ -84,6 +84,10 @@ rm -rvf \ /boot/dtb-* \ /lib/modules +# Stop services +/etc/init.d/udev stop +/etc/init.d/apache stop + # Extract files extract_files @@ -109,8 +113,8 @@ ldconfig # Start services telinit u -/etc/init.d/udev restart -/etc/init.d/apache restart +/etc/init.d/udev start +/etc/init.d/apache start # Rebuild initial ramdisks dracut --regenerate-all --force