diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
commit | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch) | |
tree | 06520d9024b40745b94f02d0d3419386e6496863 /core/mlocate/updatedb.cron.daily | |
parent | 6cc893589a6bd208f2b7711f985e17df7a6df816 (diff) | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'core/mlocate/updatedb.cron.daily')
-rwxr-xr-x | core/mlocate/updatedb.cron.daily | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/core/mlocate/updatedb.cron.daily b/core/mlocate/updatedb.cron.daily deleted file mode 100755 index cac9bb063..000000000 --- a/core/mlocate/updatedb.cron.daily +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -# nicenesses range from -20 (most favorable scheduling) to 19 (least favorable) -NICE=19 - -# 0 for none, 1 for real time, 2 for best-effort, 3 for idle -IONICE_CLASS=2 - -# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest -IONICE_PRIORITY=7 - -UPDATEDB="/usr/bin/updatedb" - -if [ -x /usr/bin/nice ]; then - UPDATEDB="/usr/bin/nice -n ${NICE:-19} ${UPDATEDB}" -fi - -if [ -x /usr/bin/ionice ]; then - UPDATEDB="/usr/bin/ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} ${UPDATEDB}" -fi - -# Update the "locate" database -if [ -x /usr/bin/updatedb ]; then - if [ -f /etc/updatedb.conf ]; then - ${UPDATEDB} - else - ${UPDATEDB} -f proc - fi -fi |