| Summary: | sys-power/apcupsd - default MTA setting could be set to a better default for Gentoo | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gordon Pritchard <gordonp> |
| Component: | Current packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | base-system, burnsmellfactory |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Gordon Pritchard
2009-01-08 16:04:01 UTC
*** Bug 201628 has been marked as a duplicate of this bug. *** Taking over. Michael you let this package rot so much, since I need it, I'm going to take it over and take care. Please don't say I didn't give you enough notice, last year I already asked you this much and now I'm simply tired. Fixed in 3.14.5, thanks. Thank-you (very much!). Using mailx, the 'echo "Subject: $MSG"' line becomes redundant since there is already a '-s "$MSG"' option specified to the mailx command. In fact, mailx will just read that 'Subject:' line as part of the message body, so $MSG will actually appear three times in the email. Twice in the body and once in the subject. I think all the /etc/apcupsd/ scripts should be changed from: echo "Subject: $MSG" echo " " echo "$MSG" echo " " /sbin/apcaccess status to: echo "$MSG" echo /sbin/apcaccess status |