You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
879 B
27 lines
879 B
#!@l_prefix@/bin/openpkg rc |
|
## |
|
## rc.findutils -- Run-Commands |
|
## |
|
|
|
%config |
|
findutils_enable="$openpkg_rc_def" |
|
findutils_tmpdir="/var/tmp" |
|
findutils_localpaths="/" |
|
findutils_netpaths="" |
|
findutils_prunepaths="/tmp /usr/tmp /var/tmp /afs" |
|
findutils_prunefs="devfs proc sysfs devpts tmpfs usbfs supermount ocfs auto autofs hsfs iso9660 afs ncpfs nfs NFS smbfs" |
|
findutils_localuser="@l_susr@" |
|
findutils_netuser="@l_susr@" |
|
|
|
%daily -u @l_susr@ |
|
rcService findutils enable yes || exit 0 |
|
TMPDIR="$findutils_tmpdir" \ |
|
@l_prefix@/bin/updatedb \ |
|
--localpaths="${findutils_localpaths}" \ |
|
--netpaths="${findutils_netpaths}" \ |
|
--prunepaths="${findutils_prunepaths}" \ |
|
--prunefs="${findutils_prunefs}" \ |
|
--localuser="${findutils_localuser}" \ |
|
--netuser="${findutils_netuser}" \ |
|
>/dev/null 2>&1 |
|
|
|
|