Pre-update autocommit on boot at 2015-08-04 10:59

This commit is contained in:
root 2015-08-04 10:59:40 +02:00
parent ee56fc26b9
commit dac57e2a37

@ -34,11 +34,12 @@ while read line; do
done < "$TMPFILE"
diff -N "$TMPCONF" "$CONFFILE" >/dev/null 2>&1
if [ diff -N "$TMPCONF" "$CONFFILE" >/dev/null 2>&1 = 1 ]; then
mv "$TMPCONF" "$CONFFILE"
service telldusd restart
else
rm "$TMPCONF"
#else
# rm "$TMPCONF"
fi
if ! git diff --quiet; then