projects
/
feed
/
telephony.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Directory structure restructuralized.
[feed/telephony.git]
/
net
/
kamailio-3.3.x
/
files
/
kamailio.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2012 OpenWrt.org
3
START=99
4
APP=kamailio
5
BIN_FILE="/usr/sbin/"$APP
6
PID_FILE="/var/run/"$APP".pid"
7
8
start() {
9
start-stop-daemon -S -x $BIN_FILE -p $PID_FILE -b -m
10
}
11
12
stop() {
13
start-stop-daemon -K -x $BIN_FILE -p $PID_FILE -q
14
rm -rf $PID_FILE
15
}