Fix wo-kernel service start

This commit is contained in:
VirtuBox
2020-05-12 01:42:04 +02:00
parent 0f5fd0a349
commit 596e7bf03b
3 changed files with 12 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
# -------------------------------------------------------------------------
# wget -qO wo wops.cc && sudo -E bash wo
# -------------------------------------------------------------------------
# Version 3.12.0 - 2020-04-24
# Version 3.12.0 - 2020-05-12
# -------------------------------------------------------------------------
# CONTENTS
@@ -644,6 +644,12 @@ wo_woconf() {
fi
}
wo_fix_kernel() {
if [ -f /opt/wo-kernel.sh ]; then
chmod +x /opt/wo-kernel.sh
fi
}
wo_init() {
###
@@ -718,6 +724,7 @@ else
if [ -x /usr/local/bin/wo ]; then
_run wo_clean
_run wo_woconf
_run wo_fix_kernel
# 2 - Migration from EEv3
else
if [ -x /usr/local/bin/ee ]; then