msmtpq-ng-mta.init 300 B

1234567891011121314151617
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. START=90
  4. boot() {
  5. [ ! -d /var/spool/msmtp ] && {
  6. mkdir -m 0770 -p /var/spool/msmtp
  7. chown msmtp:msmtp /var/spool/msmtp
  8. }
  9. [ ! -d /var/lock/msmtp ] && {
  10. mkdir -m 0770 -p /var/lock/msmtp
  11. chown msmtp:msmtp /var/lock/msmtp
  12. }
  13. }