diff options
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | scripts/kvmd-bootconfig | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -153,7 +153,7 @@ package_kvmd() { install -Dm644 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/*.yaml install -Dm600 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/*passwd install -Dm644 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/web.css - mkdir -p "$pkgdir/etc/kvmd/"{override.d,bootconfig.d} + mkdir -p "$pkgdir/etc/kvmd/override.d" mkdir -p "$pkgdir/var/lib/kvmd/msd" 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 ========== |