mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-30 21:28:58 +01:00
13 lines
271 B
Bash
Executable File
13 lines
271 B
Bash
Executable File
#! /bin/sh
|
|
#
|
|
# cron script to update the `find.codes' database.
|
|
#
|
|
# Written by Ian A. Murdock <imurdock@debian.org> and
|
|
# Kevin Dalley <kevin@aimnet.com>
|
|
|
|
if [ -f /etc/update.conf ]; then
|
|
. /etc/updatedb.conf
|
|
fi
|
|
|
|
su nobody -c "cd / && updatedb" 2>/dev/null
|