From: Florian Eckert Date: Wed, 28 Oct 2020 14:54:06 +0000 (+0100) Subject: postfix: use new extra_command function definition X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fef5dda5f6aea5bc3223401b54ccf468284b8bc0;p=openwrt-packages.git postfix: use new extra_command function definition Signed-off-by: Florian Eckert --- diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 8aad4f9ee..744ce331d 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=postfix PKG_VERSION:=3.5.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ diff --git a/mail/postfix/files/postfix.init b/mail/postfix/files/postfix.init index 27b79aae3..161c37187 100644 --- a/mail/postfix/files/postfix.init +++ b/mail/postfix/files/postfix.init @@ -3,12 +3,11 @@ START=72 STOP=50 -EXTRA_COMMANDS="status abort flush postinst" -EXTRA_HELP=" status Display the service status - abort Stop the service abruptly. Running processes are signaled to stop immediately - flush Force delivery: attempt to deliver every message in the deferred mail queue - postinst Force running a script that checks for users, group, configuration, permissions, etc" +extra_command "status" "Display the service status" +extra_command "abort" "Stop the service abruptly. Running processes are signaled to stop immediately" +extra_command "flush" "Force delivery: attempt to deliver every message in the deferred mail queue" +extra_command "postinst" "Force running a script that checks for users, group, configuration, permissions, etc" postinst() { if [ -z "$(postconf -nh myhostname)" ]; then