[packages] freeswitch: make it fully modular, add patches to allow more modules to cross-compile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18044 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#FS_DIR="/opt"
|
||||
FS_DIR_ETC="$FS_DIR/etc/freeswitch"
|
||||
FS_DIR_MOD="$FS_DIR/usr/lib/freeswitch"
|
||||
FS_DIR_LOG="$FS_DIR/tmp/freeswitch/log"
|
||||
FS_DIR_DB="$FS_DIR/tmp/freeswitch/db"
|
||||
FS_DIR_LOG="$FS_DIR/tmp/freeswitch/log"
|
||||
|
||||
OPTIONS="-conf $FS_DIR_ETC -log $FS_DIR_LOG -db $FS_DIR_DB -mod $FS_DIR_MOD"
|
||||
|
@ -7,8 +7,8 @@ OPTIONS=""
|
||||
|
||||
start() {
|
||||
[ -f $DEFAULT ] && . $DEFAULT
|
||||
mkdir -p $FS_DIR_LOG
|
||||
mkdir -p $FS_DIR_DB
|
||||
mkdir -p $FS_DIR_LOG
|
||||
$FS_DIR/usr/bin/freeswitch $OPTIONS -c
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user