mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
23
mail/postfix/patches/300-init.patch
Normal file
23
mail/postfix/patches/300-init.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
diff -rupN postfix-2.8.1/postfix_init postfix-2.8.1_patched/postfix_init
|
||||
--- postfix-2.8.1/postfix_init 1970-01-01 03:00:00.000000000 +0300
|
||||
+++ postfix-2.8.1_patched/postfix_init 2011-03-06 21:44:50.000000000 +0300
|
||||
@@ -0,0 +1,19 @@
|
||||
+#!/bin/sh /etc/rc.common
|
||||
+# Copyright (C) 2014 OpenWrt.org
|
||||
+
|
||||
+START=50
|
||||
+STOP=50
|
||||
+
|
||||
+create_users() {
|
||||
+ group_exists postfix || group_add postfix 87
|
||||
+ user_exists postfix || user_add postfix 87
|
||||
+ group_exists postdrop || group_add postdrop 88
|
||||
+}
|
||||
+
|
||||
+start() {
|
||||
+ postfix start
|
||||
+}
|
||||
+
|
||||
+stop() {
|
||||
+ postfix stop
|
||||
+}
|
||||
Reference in New Issue
Block a user