Added depmod to usher

This commit is contained in:
2017-05-31 13:42:38 +00:00
parent 2794321d9d
commit 0c6f5455b8
2 changed files with 7 additions and 1 deletions

View File

@@ -10,6 +10,12 @@ case $1 in
if [ ! -f ${TARGET}/etc/default/zfs ]; then
cp ${TARGET}/usr/share/zfs/zfs.default /etc/default/zfs
fi
if [[ ${TARGET} ]]; then
chroot ${TARGET} depmod
else
depmod
fi
;;
prerm)
exit 0