5ed31914ae
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13145 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
320 B
Bash
Executable File
16 lines
320 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
#Copyright (C) 2007 RoadRunner.cx
|
|
START=85
|
|
|
|
start() {
|
|
[ -f /etc/imsnif.conf ] && /usr/bin/imsnif || {
|
|
cat <<EOF
|
|
You have not created configuration file.
|
|
Store your configuration as /etc/imsnif.conf
|
|
EOF
|
|
}
|
|
}
|
|
|
|
stop() {
|
|
[ `ps ax|grep -v grep|grep -c imsnif` != "0" ] && killall imsnif
|
|
} |