projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix miniupnpd handling of dynamic interfaces (#2075)
[openwrt/svn-archive/archive.git]
/
multimedia
/
peercast
/
files
/
peercast.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START
=
50
4
5
PID_F
=/
var
/
run
/
peercast.pid
6
7
start
() {
8
peercast
-d -i
/
etc
/
peercast.ini
-l
/
var
/
log
/
peercast.log
-p
$PID_F
9
}
10
11
stop
() {
12
[
-f
$PID_F
] &&
kill
$
(
cat
$PID_F
) >/
dev
/
null
2
>&
1
13
}
14