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
307 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. START=90
  4. boot() {
  5. if [ ! -d /var/spool/msmtp ]; then
  6. mkdir -m1777 -p /var/spool/msmtp
  7. else
  8. chmod 1777 /var/spool/msmtp
  9. fi
  10. if [ ! -d /var/lock/msmtp ]; then
  11. mkdir -m1777 -p /var/lock/msmtp
  12. else
  13. chmod 1777 /var/spool/msmtp
  14. fi
  15. }