[packages] add preliminary freeswitch v1.0.4 package (closes: #4891)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@17984 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2009-10-07 16:17:09 +00:00
parent 8eaa279a1a
commit d908be5a60
6 changed files with 203 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=90
DEFAULT=/etc/default/freeswitch
OPTIONS=""
start() {
[ -f $DEFAULT ] && . $DEFAULT
mkdir -p $FS_DIR_LOG
mkdir -p $FS_DIR_DB
$FS_DIR/usr/bin/freeswitch $OPTIONS -c
}
stop() {
[ -f $DEFAULT ] && . $DEFAULT
$FS_DIR/usr/bin/freeswitch $OPTIONS -stop
}