[scripts] touch /run/openrc/softlevel if dir exists

This commit is contained in:
Fabio Erculiani
2012-09-05 13:34:46 +02:00
parent 6b2eade910
commit 12df9b25cd
8 changed files with 8 additions and 0 deletions
@@ -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