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 <arne_f@ipfire.org>
This commit is contained in:
parent
84f8640da0
commit
06c935a01b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue