diff options
Diffstat (limited to 'sms-forward')
-rw-r--r-- | sms-forward | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sms-forward b/sms-forward index 7f79aaa..2c6082c 100644 --- a/sms-forward +++ b/sms-forward @@ -11,6 +11,10 @@ :global MailServerIsUp; :global SendNotification; +:if ([ / tool sms get receive-enabled ] = false) do={ + $LogPrintExit warning "Receiving of SMS is not enabled." true; +} + # check mail server :if ($MailServerIsUp = false) do={ $LogPrintExit warning "Mail server is not up." true; |