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.

17 lines
300 B

  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. }