rc.firestorm

来自「Firestorm NIDS是一个性能非常高的网络入侵检测系统 (NIDS)。目」· FIRESTORM 代码 · 共 39 行

FIRESTORM
39
字号
#!/bin/sh## Startup script for firestorm network IDS## chkconfig: 345 11 11# description: firestorm network intrusion detection systemSVNAME="Firestorm Network IDS"# Source 'em  up.. /etc/init.d/functions# See how we were called.case "$1" in  start)	action "Starting $SVNAME: " firestorm-nids        ;;  stop)	if pidof firestorm-nids > /dev/null ; then		cmd="killall firestorm-nids"	else		cmd='false'	fi	action "Shutting Down $SVNAME: " $cmd        ;;  restart)        $0 stop        $0 start        ;;  status)	pidof firestorm-nids	;;  *)        echo "Usage: $0 {start|stop|restart|status}"        exit 1esacexit 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?