提交 b0050f51 authored 作者: Travis Cross's avatar Travis Cross

Improve init error message when FS is unconfigured

Depending on which packages are installed, the README.Debian file
might not be there, so we'll spell out the instructions more directly.
上级 1190e59a
......@@ -35,7 +35,9 @@ WORKDIR=/var/lib/$NAME
do_start() {
if ! [ -f $CONFDIR/freeswitch.xml ]; then
echo "$NAME is not configured so not starting.">&2
echo "Please review /usr/share/doc/$NAME/README.Debian">&2
echo "Please add configuration under /etc/freeswitch">&2
echo "e.g. Install freeswitch-conf-vanilla, then:">&2
echo "cp -a /usr/share/freeswitch/conf/vanilla /etc/freeswitch">&2
return 3
fi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论