From ff41d465ecb26212d97430f8e414ae697af0f072 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 31 Aug 2023 11:26:59 -0700 Subject: [PATCH] use hardlinks when possible --- bin/vhost-user-jails-update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/vhost-user-jails-update.sh b/bin/vhost-user-jails-update.sh index dba75d0..706218a 100755 --- a/bin/vhost-user-jails-update.sh +++ b/bin/vhost-user-jails-update.sh @@ -53,8 +53,8 @@ for jail in "${!jails[@]}" do jail=${jails[$jail]} echo "updating $jail" - /usr/sbin/jk_update -j /usr/jails/$jail - /usr/sbin/jk_update -j /usr/jails/$jail /lib64/ - /usr/sbin/jk_update -s /etc/passwd -s /etc/group -s /etc/ld.so.cache -j /usr/jails/$jail /etc/ + /usr/sbin/jk_update -k -j /usr/jails/$jail + /usr/sbin/jk_update -k -j /usr/jails/$jail /lib64/ + /usr/sbin/jk_update -k -s /etc/passwd -s /etc/group -s /etc/ld.so.cache -j /usr/jails/$jail /etc/ /sbin/ldconfig.real -r /usr/jails/$jail done