You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
288 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2014 OpenWrt.org
  3. START=50
  4. STOP=50
  5. create_users() {
  6. group_exists postfix || group_add postfix 87
  7. user_exists postfix || user_add postfix 87
  8. group_exists postdrop || group_add postdrop 88
  9. }
  10. start() {
  11. postfix start
  12. }
  13. stop() {
  14. postfix stop
  15. }