utils/psmisc: fix peekfd issue on mips/big-endian targets, included upstream patch...
[openwrt/svn-archive/archive.git] / net / scanlogd / files / scanlogd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 start() {
6 mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6`
7 /usr/sbin/scanlogd
8 }
9
10 stop() {
11 killall scanlogd
12 }