]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Improve init error message when FS is unconfigured
authorTravis Cross <tc@traviscross.com>
Thu, 6 Nov 2014 16:30:44 +0000 (16:30 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 6 Nov 2014 16:33:23 +0000 (16:33 +0000)
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

index 3a2089ad219bac3005bb97eb07ea688ca424dab4..f393ff48a6bf3707b55e9f261cd17796ea97eaac 100644 (file)
@@ -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