68 |
|
|
69 |
# search for local script added |
# search for local script added |
70 |
find /usr/local/bin/ -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
find /usr/local/bin/ -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
71 |
|
# search for local dir script added |
72 |
|
find /usr/local/ -maxdepth 1 -type d | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
73 |
# search for cron files not owned by a rpm |
# search for cron files not owned by a rpm |
74 |
find /etc/cron.* -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
find /etc/cron.* -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
75 |
# search for udev rules not owned by a rpm ! oucl add an option there in case you change of hardware |
# search for udev rules not owned by a rpm ! oucl add an option there in case you change of hardware |
76 |
find /etc/udev/rules.d/ -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
find /etc/udev/rules.d/ -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
77 |
|
# search for spamassassin user created config |
78 |
|
find /etc/mail/spamassassin -maxdepth 1 -type f | xargs -I % sh -c "rpm -qf % 2>&1 > /dev/null || echo % >> dir.list" |
79 |
|
|
80 |
################## |
################## |
81 |
# |
# |