aboutsummaryrefslogtreecommitdiffstats
path: root/main/hylafaxplus/hylafaxplus.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/hylafaxplus/hylafaxplus.initd')
-rw-r--r--main/hylafaxplus/hylafaxplus.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/hylafaxplus/hylafaxplus.initd b/main/hylafaxplus/hylafaxplus.initd
index fe29a58358b..c3ac4c4d9c5 100644
--- a/main/hylafaxplus/hylafaxplus.initd
+++ b/main/hylafaxplus/hylafaxplus.initd
@@ -25,6 +25,11 @@ checkconfig() {
return 1
fi
+ if [ ! -f $SPOOL/lib/hfaxd.conf ] ; then
+ eerror "No $SPOOL/lib/hfaxd.conf file found. Rename and modify the hfaxd.conf.default"
+ return 1
+ fi
+
if [ ! -f $SPOOL/etc/setup.cache ] ; then
eerror "No $SPOOL/etc/setup.cache file found. Use faxsetup command"
return 1