cronie: don't install pkg specific jobs, bumprev.
--HG-- extra : convert_revision : 1bff999c417dde2ed04cd6fab8c5ee98356b0eae
This commit is contained in:
parent
76e72309a4
commit
5c1380bf6f
3 changed files with 1 additions and 22 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
LOCKFILE=/var/lock/makewhatis.lock
|
||||
|
||||
# the lockfile is not meant to be perfect, it's just in case the
|
||||
# two makewhatis cron scripts get run close to each other to keep
|
||||
# them from stepping on each other's toes. The worst that will
|
||||
# happen is that they will temporarily corrupt the database...
|
||||
[ -f $LOCKFILE ] && exit 0
|
||||
|
||||
trap "{ rm -f $LOCKFILE ; exit 255; }" EXIT
|
||||
touch $LOCKFILE
|
||||
makewhatis -u -w
|
||||
exit 0
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
nodevs=$(< /proc/filesystems awk '$1 == "nodev" { print $2 }')
|
||||
renice +19 -p $$ >/dev/null 2>&1
|
||||
ionice -c2 -n7 -p $$ >/dev/null 2>&1
|
||||
/usr/bin/updatedb -f "$nodevs"
|
Loading…
Add table
Add a link
Reference in a new issue