Files
college-pentesting/verb/binary/attemp2/fs/cpio/sbin/snort.sh
2018-11-18 16:02:11 +01:00

19 lines
281 B
Bash
Executable File

#!/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