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