[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:
18
net/freeswitch/files/freeswitch.init
Normal file
18
net/freeswitch/files/freeswitch.init
Normal 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
|
||||
}
|
Reference in New Issue
Block a user