projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
544c8c8ded21f21f905560f47a9b882613082298
[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
}