From 6a69eae4fce94c262fccfbe6943d02f21dc01888 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 6 Nov 2014 16:30:44 +0000 Subject: [PATCH] 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. --- debian/freeswitch-sysvinit.freeswitch.init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/freeswitch-sysvinit.freeswitch.init b/debian/freeswitch-sysvinit.freeswitch.init index 3a2089ad21..f393ff48a6 100644 --- a/debian/freeswitch-sysvinit.freeswitch.init +++ b/debian/freeswitch-sysvinit.freeswitch.init @@ -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