projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
libgee: moved to github
[packages.git]
/
net
/
hsflowd
/
files
/
sflowovsd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2012 OpenWrt.org
3
4
START=50
5
6
SERVICE_USE_PID=1
7
8
start() {
9
service_start /usr/sbin/sflowovsd -f /var/run/hsflowd.auto
10
}
11
12
stop() {
13
service_stop /usr/sbin/sflowovsd
14
15
pid_file="/var/run/sflowovsd.pid"
16
[ -f "$pid_file" ] && rm -f "$pid_file"
17
}