[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
+1
View File
@@ -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