]>
git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - man-db/man-db.cron
c7d21ad615679f0d09a4c237073843b09be73793
3 renice
+19 -p $$
>/dev
/null
2>&1
4 ionice
-c3 -p $$
>/dev
/null
2>&1
6 LOCKFILE
=/var
/lock
/man-db.lock
8 # The lockfile is not meant to be perfect, it's just in case the
9 # two man-db cron scripts get run close to each other to keep
10 # them from stepping on each other's toes. The worst that will
11 # happen is that they will temporarily corrupt the database.
12 [ -f $LOCKFILE ] && exit 0
14 trap "{ rm -f $LOCKFILE ; exit 0; }" EXIT
17 # Create/update the mandb database.