Browse Source

postfix: use new extra_command function definition

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
fef5dda5f6
2 changed files with 5 additions and 6 deletions
  1. +1
    -1
      mail/postfix/Makefile
  2. +4
    -5
      mail/postfix/files/postfix.init

+ 1
- 1
mail/postfix/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=postfix PKG_NAME:=postfix
PKG_VERSION:=3.5.7 PKG_VERSION:=3.5.7
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:= \


+ 4
- 5
mail/postfix/files/postfix.init View File

@ -3,12 +3,11 @@
START=72 START=72
STOP=50 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() { postinst() {
if [ -z "$(postconf -nh myhostname)" ]; then if [ -z "$(postconf -nh myhostname)" ]; then


Loading…
Cancel
Save