Maintenance for a few modules (#42)

This commit is contained in:
WM
2018-08-27 02:32:32 +02:00
committed by Sebastian Kinne
parent 13b3c40d76
commit a5d7d19cd5
161 changed files with 16954 additions and 10056 deletions

View File

@@ -32,8 +32,8 @@ if [ "$1" = "install" ]; then
uci commit p0f.module.installed
elif [ "$1" = "remove" ]; then
opkg remove p0f
rm -rf /etc/config/p0f
opkg remove p0f
rm -rf /etc/config/p0f
fi
rm /tmp/p0f.progress

View File

@@ -8,7 +8,7 @@ MYTIME=`date +%s`
MYINTERFACE=`uci get p0f.run.interface`
if [ "$1" = "start" ]; then
p0f -i ${MYINTERFACE} -o /pineapple/modules/p0f/log/output_${MYTIME}.log
p0f -i ${MYINTERFACE} -o /pineapple/modules/p0f/log/output_${MYTIME}.log
elif [ "$1" = "stop" ]; then
killall -9 p0f
fi