提交 4415976b authored 作者: Brian West's avatar Brian West

FSSCRIPTS-4 thanks UnixDog

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9294 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3e3d3e18
#!/bin/sh
#
# freeswitch.sh - startup script for freeswitch on FreeBSD
#
# This goes in /usr/local/etc/rc.d and gets run at boot-time.
case "$1" in
start)
if [ -x /usr/local/freeswitch/bin/freeswitch ] ; then
echo -n " freeswitch"
/usr/local/freeswitch/bin/freeswitch -nc &
fi
;;
stop)
if [ -x /usr/local/freeswitch/bin/freeswitch ] ; then
echo -n " freeswitch"
/usr/local/freeswitch/bin/freeswitch -stop &
fi
;;
*)
echo "usage: $0 { start | stop }" >&2
exit 1
;;
esac
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论