No routing
This commit is contained in:
parent
8f1df8243d
commit
cd96dc6fd7
|
@ -122,40 +122,40 @@ function install_tripwire {
|
||||||
fi
|
fi
|
||||||
# Ignore additional install files
|
# Ignore additional install files
|
||||||
if ! grep -q '!/usr/local/bin/freedombone' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/freedombone' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/freedombone* -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/freedombone* ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!=/usr/local/bin' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!=/usr/local/bin' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !=/usr/local/bin -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !=/usr/local/bin ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/addremove' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/addremove' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/addremove -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/addremove ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/backup' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/backup' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/backup -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/backup ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/backup2friends' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/backup2friends' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/backup2friends -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/backup2friends ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/batman' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/batman' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/batman -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/batman ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/control' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/control' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/control -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/control ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/controluser' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/controluser' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/controluser -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/controluser ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/cronic' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/cronic' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/cronic -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/cronic ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/meshavahi' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/meshavahi' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/meshavahi -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/meshavahi ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/restore' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/restore' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/restore -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/restore ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
if ! grep -q '!/usr/local/bin/restorefromfriend' /etc/tripwire/twpol.txt; then
|
if ! grep -q '!/usr/local/bin/restorefromfriend' /etc/tripwire/twpol.txt; then
|
||||||
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/restorefromfriend -> $(SEC_BIN) ;' /etc/tripwire/twpol.txt
|
sed -i '\|/usr/local/sbin.*|a\ !/usr/local/bin/restorefromfriend ;' /etc/tripwire/twpol.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid logging the changed database
|
# Avoid logging the changed database
|
||||||
|
|
Loading…
Reference in New Issue