Fixed MOTD update and tee syntax issue on inet6 disable