preload: fix IONICE bin

This commit is contained in:
Andrea Brancaleoni 2016-09-25 11:58:59 +02:00
parent aa7734521c
commit 562daf80c6
2 changed files with 3 additions and 2 deletions

View file

@ -8,10 +8,11 @@ exec 2>&1
# Command-line arguments to pass to the daemon. Read preload(8) man page
# for available options.
: ${OPTS:="--verbose 1 -l ''"}
: ${OPTS:="--verbose 1"}
# Option to call ionice with. Leave empty to skip ionice.
: ${IONICE_OPTS:=-c3}
: ${IONICE:=/usr/bin/ionice}
free -m | awk '/Mem:/ {exit ($2 >= ('"$MIN_MEMORY"'))?0:1}' || exit 0

View file

@ -1,7 +1,7 @@
# Template file for 'preload'
pkgname=preload
version=0.6.4
revision=8
revision=9
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel"