Project

General

Profile

Actions

Feature #10603

closed

Handle -c commands with arguments in rc.initial

Added by Emanuel Rietveld about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Console Menu
Target version:
Start date:
05/27/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

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
  1. Blank line

After

$ ssh -t admin@pfsense echo with arguments
with arguments


Files

Actions

Also available in: Atom PDF