`nm-online` doesn't seem reliable and many times it didn't work, and piping it to `systemd-cat` would log a small binary blob. The new method has worked for me 100% of the time. Also fixing weirdly indented comment in bash script.