Merge branch 'master' into toutatis
This commit is contained in:
commit
07676c0d01
1 changed files with 2 additions and 6 deletions
|
|
@ -188,16 +188,12 @@ fi
|
|||
}
|
||||
|
||||
tmpumount(){
|
||||
[ $MEM -lt 16000000 ] && return
|
||||
echo $PACKAGE | grep -q "linux" && return
|
||||
umount jails/$UPSTREAM-$ARCH/tmp && return
|
||||
fuser -k -m jails/$UPSTREAM-$ARCH/tmp
|
||||
umount jails/$UPSTREAM-$ARCH/tmp && return
|
||||
grep $PWD/jails/$UPSTREAM-$ARCH/tmp /proc/mounts && return
|
||||
umount $PWD/jails/$UPSTREAM-$ARCH/tmp && return
|
||||
echo ERROR: could not umount tmpfs at jails/$UPSTREAM-$ARCH/tmp
|
||||
exit 1
|
||||
}
|
||||
tmpmount(){
|
||||
mount|grep tmpfs|grep jails -q && return
|
||||
[ $MEM -lt 16000000 ] && return
|
||||
echo $PACKAGE | grep -q "linux" && return
|
||||
grep jails/$UPSTREAM-$ARCH/tmp /proc/mounts -q && tmpumount
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue