From 06c935a01b31e806226064bf95883f686a643604 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 9 Dec 2023 09:38:28 +0100 Subject: [PATCH] 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 --- config/rootfiles/core/181/update.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5