From fef5dda5f6aea5bc3223401b54ccf468284b8bc0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 28 Oct 2020 15:54:06 +0100 Subject: [PATCH] postfix: use new extra_command function definition Signed-off-by: Florian Eckert --- mail/postfix/Makefile | 2 +- mail/postfix/files/postfix.init | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 8aad4f9ee8..744ce331d4 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 27b79aae3e..161c371873 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