mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Maintenance for a few modules (#42)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user