Fix MOTD script name reference in chmod command

The chmod command incorrectly referenced the wrong script name. This
patch fixes that.

Change-Id: I494bba6995a01488da0a71f5cffe9f61a9c4165e
Closes-Bug: #1403534