aboutsummaryrefslogtreecommitdiff
path: root/system/mlocate/mlocate-run-updatedb
blob: 7d3f2ac52677f589d0591d365ef4d1be4bf0410e (plain)
1
2
3
4
#!/bin/sh

nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }')
/usr/bin/updatedb -f "$nodevs"