Handle -c commands with arguments in rc.initial
Following #4422 rc.initial now handles a -c parameter consisting of a single command with no arguments.
With this change, it also handles commands with arguments.
Ansible for example makes use of complex commands, and with this change it works even if the shell is set to rc.initial
Before$ ssh -t admin@pfsense echo with arguments
- Blank line
$ ssh -t admin@pfsense echo with arguments
Updated by Emanuel Rietveld over 1 year ago
- File 0001-rc.initial-handle-c-command-with-arguments.patch 0001-rc.initial-handle-c-command-with-arguments.patch added