- elimnate the cp + chmod with install
- use {} around variables
- replace hard coded /etc/motd with MOTD_FILE variable
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
etc/rc.d/motd | ||
---|---|---|
18 | What benefit is there to this? Is it solving something you ran into? |
etc/rc.d/motd | ||
---|---|---|
18 | Just a refactor. |
etc/rc.d/motd | ||
---|---|---|
18 | Line 32 missed ${MOTD_FILE}. I don't really see the benefit in changing this; I don't like changing things for no good reason. If MOTD_FILE was in etc/defaults/rc.conf and had some reason to be moved I would be more inclined to consider this, but I don't see a great benefit in that either. |