File: checkingconfig.yo

package info (click to toggle)
stealth 4.04.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: cpp: 2,759; sh: 151; makefile: 111; ansic: 52
file content (11 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
    Finally, the client's configuration files are checked. Some of these files
change so frequently that we don't want them to be checked. E.g.,
tt(/etc/adjtime, /etc/mtab). To check the configuration file, do:
    COMMENT(
                NOTE: KEEP THE BLANKS AFTER THE BACKSLASHES
    END)
        verb(    LABEL \nconfiguration files under /etc
    CHECK LOG = remote/etcfiles                         \ 
          /usr/bin/find /etc -type f -not -perm /6111   \ 
            -not -regex "/etc/\(adjtime\|mtab\)"        \ 
            -exec /usr/bin/sha1sum {} \;)