#!/bin/sh

[ -x /usr/bin/updatedb ] || exit 0

if [ -x /usr/bin/ionice ]; then
    IONICE="/usr/bin/ionice -c3"
fi

$IONICE /usr/bin/updatedb
