]>
Commit | Line | Data |
---|---|---|
8f019758 | 1 | --- files/rkhunter~ 2004-08-10 22:38:31.000000000 +0200 |
2 | +++ files/rkhunter 2004-08-10 22:44:12.000000000 +0200 | |
3 | @@ -594,7 +594,7 @@ | |
4 | # If not available in configuration file, make it static | |
5 | if [ "${TMPDIR}" = "" ] | |
6 | then | |
7 | - TMPDIR="${MYDIR}/lib/rkhunter/tmp" | |
8 | + TMPDIR="/var/lib/rkhunter/tmp" | |
9 | fi | |
10 | fi | |
11 | ||
12 | @@ -613,7 +613,7 @@ | |
13 | # If not available in configuration file, make it static | |
14 | if [ "${DB_PATH}" = "" ] | |
15 | then | |
16 | - DB_PATH="${MYDIR}/lib/rkhunter/db" | |
17 | + DB_PATH="/var/lib/rkhunter/db" | |
18 | fi | |
19 | fi | |
20 | ||
21 | @@ -1915,12 +1915,12 @@ | |
22 | ||
23 | # Only use Perl MD5 module if we have it installed | |
24 | # If we can find it then skip the md5(sum) utility | |
25 | - perlmd5installed=`${MYDIR}/lib/rkhunter/scripts/check_modules.pl | grep 'Digest::MD5 installed'` | |
26 | - perlsha1installed=`${MYDIR}/lib/rkhunter/scripts/check_modules.pl | grep 'Digest::SHA1 installed'` | |
27 | + perlmd5installed=`${MYDIR}/share/rkhunter/scripts/check_modules.pl | grep 'Digest::MD5 installed'` | |
28 | + perlsha1installed=`${MYDIR}/share/rkhunter/scripts/check_modules.pl | grep 'Digest::SHA1 installed'` | |
29 | ||
30 | if [ ! "${perlmd5installed}" = "" ] | |
31 | then | |
32 | - md5="${MYDIR}/lib/rkhunter/scripts/filehashmd5.pl" | |
33 | + md5="${MYDIR}/share/rkhunter/scripts/filehashmd5.pl" | |
34 | logtext "Info: ${perlmd5installed}" >> ${DEBUGFILE} | |
35 | logtext "Info: Using Perl Digest::MD5 module instead of ${MD5BINARY}" | |
36 | fi | |
37 | @@ -3706,7 +3706,7 @@ | |
38 | logtext "Start scanning for hidden files in ${I}..." | |
39 | ||
40 | if [ -d "${I}" ]; then | |
41 | - HIDDENDIRS=`${MYDIR}/lib/rkhunter/scripts/showfiles.pl ${I}` | |
42 | + HIDDENDIRS=`${MYDIR}/share/rkhunter/scripts/showfiles.pl ${I}` | |
43 | logtext "Value of hiddendirs: ${HIDDENDIRS}" | |
44 | fi | |
45 | ||
46 | @@ -4072,7 +4072,7 @@ | |
47 | then | |
48 | displaytext "Running updater..." | |
49 | displaytext "" | |
50 | - ${MYDIR}/lib/rkhunter/scripts/check_update.sh ${CONFIGFILE} ${MIRRORFILE} ${DB_PATH} ${md5} ${DEBUGFILE} | |
51 | + ${MYDIR}/share/rkhunter/scripts/check_update.sh ${CONFIGFILE} ${MIRRORFILE} ${DB_PATH} ${md5} ${DEBUGFILE} | |
52 | displaytext "" | |
53 | displaytext "Ready." | |
54 | fi |