i think i almost have the default pass, i have to understand one more function

This commit is contained in:
2018-11-18 18:19:38 +01:00
parent 8206ede06a
commit 36aeaa07f6
264 changed files with 11666 additions and 1 deletions

18
verb/fs.sbin/snort.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
#
# $Id: //WIFI_SOC/release/SDK_4_1_0_0/source/user/rt2880_app/scripts/snort.sh#1 $
#
# usage: snort.sh
#
se=`nvram_get 2860 SnortEnable`
killall -q snort
# debug
#echo "se=$se"
#run snort
if [ "$se" = "1" ]; then
/bin/snort -c /etc_ro/snort.conf -l /var/log -s &
fi