aboutsummaryrefslogtreecommitdiff
path: root/mail/exim/files/exim.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exim/files/exim.sh')
-rw-r--r--mail/exim/files/exim.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/exim/files/exim.sh b/mail/exim/files/exim.sh
index 58254cfab384..a71611712716 100644
--- a/mail/exim/files/exim.sh
+++ b/mail/exim/files/exim.sh
@@ -55,10 +55,9 @@ stop_postcmd()
rm -f $pidfile
}
-# set defaults
-
-exim_enable=${exim_enable:-"NO"}
-exim_flags=${exim_flags:-"-bd -q30m"}
-
+# read settings, set default values
load_rc_config $name
+: ${exim_enable="NO"}
+: ${exim_flags="-bd -q30m"}
+
run_rc_command "$1"