[scripts] touch /run/openrc/softlevel if dir exists
This commit is contained in:
parent
6b2eade910
commit
12df9b25cd
scripts
amazon_ebs_image_inner_chroot_script_after.shimage_generic_inner_chroot_script_after.shinner_chroot_script.shmkloopcard_beagleboard_xm_chroot_hook.shmkloopcard_beaglebone_chroot_hook.shmkloopcard_efikamx_chroot_hook.shremaster_generic_inner_chroot_script_after.shremaster_serverbase_inner_chroot_script_after.sh
@ -91,6 +91,7 @@ rm -rf /install-data
|
||||
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
|
||||
|
@ -77,6 +77,7 @@ rm /var/lib/entropy/logs -rf
|
||||
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
|
||||
|
@ -78,6 +78,7 @@ equo rescue vacuum
|
||||
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
|
||||
|
@ -61,6 +61,7 @@ setup_startup_caches() {
|
||||
/lib/rc/bin/rc-depend -u
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
ldconfig
|
||||
|
@ -42,6 +42,7 @@ setup_startup_caches() {
|
||||
/lib/rc/bin/rc-depend -u
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
ldconfig
|
||||
|
@ -61,6 +61,7 @@ setup_startup_caches() {
|
||||
/lib/rc/bin/rc-depend -u
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
ldconfig
|
||||
|
@ -270,6 +270,7 @@ setup_startup_caches() {
|
||||
/lib/rc/bin/rc-depend -u
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
ldconfig
|
||||
|
@ -17,6 +17,7 @@ rm -rf /install-data
|
||||
|
||||
# Generate openrc cache
|
||||
touch /lib/rc/init.d/softlevel
|
||||
[[ -d "/run/openrc" ]] && touch /run/openrc/softlevel
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user