summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-11-12 03:53:04 +0300
committerMaxim Devaev <[email protected]>2021-11-12 03:53:04 +0300
commita3812dda699d404d2b298a3ce2012d3d3335dd81 (patch)
treea8d0f84f8f40f9685a0048cde9ba31a2fc3f2a9f /scripts
parent6118eadec662d7b0db7161ee788f63aa970e8454 (diff)
renamed scripts directory
Diffstat (limited to 'scripts')
-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 ==========