From a3812dda699d404d2b298a3ce2012d3d3335dd81 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 12 Nov 2021 03:53:04 +0300 Subject: renamed scripts directory --- scripts/kvmd-bootconfig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scripts') 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 ========== -- cgit v1.2.3