--- updatedb.cron.daily.orig 2009-07-21 09:13:10.000000000 +0200 +++ updatedb.cron.daily 2009-07-21 09:13:29.000000000 +0200 @@ -1,5 +1,10 @@ #!/bin/sh +# check if ionice is present and use it then +if [ -x /usr/bin/ionice ]; then + /usr/bin/ionice -c3 -p$$ +fi + # Update the "locate" database if [ -x /usr/bin/updatedb ]; then if [ -f /etc/updatedb.conf ]; then