Patch from dcg: detect /etc/ssmtp.conf changes inside update script, instead of touching a /tmp file

This commit is contained in:
John Locke
2015-11-19 11:58:47 -08:00
parent aa6a9d5b12
commit 11b9c43044
2 changed files with 7 additions and 6 deletions

View File

@@ -1,11 +1,6 @@
#!/bin/bash
if [[ -e /tmp/smtpconfig ]]; then
echo "smtp configured."
else
update_ssmtp.sh
touch /tmp/smtpconfig
fi
update_ssmtp.sh
if [[ ! -f ledgersmb.conf ]]; then