diff options
Diffstat (limited to 'cron-sh')
-rw-r--r-- | cron-sh/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh index a95dd91..b094210 100644 --- a/cron-sh/functions.sh +++ b/cron-sh/functions.sh @@ -25,7 +25,7 @@ SECURITY_LOG="/var/log/security.log" # Modified filters coming from debian security scripts. # rootfs is not listed among excluded types, because # / is mounted twice, and filtering it would mess with excluded dir list -TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|rpc_pipefs|securityfs|auto|proc|msdos|fat|vfat|iso9660|ncpfs|smbfs|hfs|nfs|afs|coda|cifs|fuse.gvfs-fuse-daemon)' +TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|rpc_pipefs|securityfs|auto|proc|msdos|fat|vfat|iso9660|ncpfs|smbfs|hfs|nfs|afs|coda|cifs|fuse.gvfs-fuse-daemon|vmblock)' MOUNTPOINT_FILTER='^\/mnt|^\/media' DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \ {print $2}' /proc/mounts | uniq` |