Modules fixes (#9)

This commit is contained in:
WM
2018-01-27 17:32:38 -05:00
committed by Sebastian Kinne
parent 1f13b82ee9
commit abe6d3060c
17 changed files with 79 additions and 53 deletions

View File

@@ -18,6 +18,10 @@ if [ "$1" = "install" ]; then
opkg update
opkg install p0f --dest sd
fi
if [ ! -f /usr/lib/libpcap.so ] && [ -f /usr/lib/libpcap.so.1.3 ]; then
ln -s /usr/lib/libpcap.so /usr/lib/libpcap.so.1.3
fi
touch /etc/config/p0f
echo "config p0f 'module'" > /etc/config/p0f