mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-16 12:11:05 +01:00
fixed mtree rc mode
This commit is contained in:
5
jaildk
5
jaildk
@@ -450,7 +450,10 @@ rc_mtree() {
|
||||
else
|
||||
run=$j/run/$jail/
|
||||
fi
|
||||
ex mtree -p $run -Ue -f $j/etc/$jail/mtree.conf | grep -v "extra:"
|
||||
|
||||
# needs to run inside jail
|
||||
echo "cat $j/etc/$jail/mtree.conf | chroot $run mtree -p / -Ue | grep -v extra:"
|
||||
cat $j/etc/$jail/mtree.conf | chroot $run mtree -p / -Ue | grep -v "extra:"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user