source: npl/overig/mlocate/mlocate-run-updatedb

Last change on this file was 2e1206e, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit

  • Property mode set to 100644
File size: 138 bytes
Line 
1#!/bin/sh
2
3nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }')
4/usr/bin/updatedb -f "$nodevs"
Note: See TracBrowser for help on using the repository browser.