aboutsummaryrefslogtreecommitdiff
path: root/system/plocate/cron.sh
blob: 9897c60ea3182b918ed49d9a95969b98e0532a62 (plain)
1
2
3
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"