projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] freeswitch: make it fully modular, add patches to allow more modules to...
[packages.git]
/
net
/
freeswitch
/
files
/
freeswitch.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START=90
4
5
DEFAULT=/etc/default/freeswitch
6
OPTIONS=""
7
8
start() {
9
[ -f $DEFAULT ] && . $DEFAULT
10
mkdir -p $FS_DIR_DB
11
mkdir -p $FS_DIR_LOG
12
$FS_DIR/usr/bin/freeswitch $OPTIONS -c
13
}
14
15
stop() {
16
[ -f $DEFAULT ] && . $DEFAULT
17
$FS_DIR/usr/bin/freeswitch $OPTIONS -stop
18
}