On Mon, Sep 30, 2019 at 01:43:13PM -0400, yoda woya wrote: > The content of my rc.local has two lines: > /usr/local/bin/ipnat > exit 0 > > However on boot /usr/local/bin/ipnat in not executed.
The first line must be a valid shebang, ideally #!/bin/sh . You can omit the exit 0 if you like, but you cannot omit the shebang.