packages/mail/msmtp-scripts/files/msmtpq-ng-mta.init
Daniel F. Dickinson d163eaea52 msmtp-scripts: Overhaul and update like upstream
The project has been revived upstream and a user has convinced me
there is a valid use case for this package in openwrt, so remove
deprecation notice, adjust links to upstream (it's moved) and
update to latest version.  Sync behavior with that expected upstream.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-08-08 21:50:09 -04:00

15 lines
225 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2016 OpenWrt.org
START=90
boot() {
[ ! -d /var/spool/msmtp ] && {
mkdir -m1777 -p /var/spool/msmtp
}
[ ! -d /var/lock/msmtp ] && {
mkdir -m1777 -p /var/lock/msmtp
}
}