summaryrefslogtreecommitdiff
path: root/scripts/kvmd-bootconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kvmd-bootconfig')
-rwxr-xr-xscripts/kvmd-bootconfig10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/kvmd-bootconfig b/scripts/kvmd-bootconfig
index fe76928c..8a400405 100755
--- a/scripts/kvmd-bootconfig
+++ b/scripts/kvmd-bootconfig
@@ -135,10 +135,12 @@ fi
# ========== Custom scripts ==========
-mkdir -p /boot/kvmd-bootconfig.d
-for script in `ls /etc/kvmd/bootconfig.d | sort`; do
- /boot/kvmd-bootconfig.d/"$script" || true
-done
+
+if [ -d /boot/pikvm-scripts.d ]; then
+ for script in `ls /boot/pikvm-scripts.d | sort`; do
+ /boot/pikvm-scripts.d/"$script" || true
+ done
+fi
# ========== Finish ==========