diff options
Diffstat (limited to 'system/plocate/cron.sh')
-rw-r--r-- | system/plocate/cron.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/plocate/cron.sh b/system/plocate/cron.sh new file mode 100644 index 0000000000..9897c60ea3 --- /dev/null +++ b/system/plocate/cron.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }') +ionice -c3 nice -n 19 /usr/sbin/plocate-updatedb -f "$nodevs" |