void-packages/templates/cronie/files/mlocate.cron
Juan RP dd0067027d cronie: add rc.d script and some config files.
--HG--
extra : convert_revision : 5ddf685027b96d674702810d45cada1c04701828
2009-03-28 17:44:07 +01:00

5 lines
174 B
Bash

#!/bin/sh
nodevs=$(< /proc/filesystems awk '$1 == "nodev" { print $2 }')
renice +19 -p $$ >/dev/null 2>&1
ionice -c2 -n7 -p $$ >/dev/null 2>&1
/usr/bin/updatedb -f "$nodevs"