aboutsummaryrefslogtreecommitdiffstats
path: root/net/iplog/files/iplog.sh.tmpl
blob: 6653b64baf6abe0c2ac6762d9f9cf466b45088ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#

umask 022
arg=${1:-start}

test -x PREFIX/sbin/iplog || exit 1
echo -n " iplog"

case $arg in
start)
    PREFIX/sbin/iplog -d -z;;
stop)
    killall iplog;;
esac