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