florian 5ed31914ae Add imsnif and link it against uclibcxx (#2128)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-09 15:33:26 +00:00

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
}