Project

General

Profile

Actions

Feature #10603

closed

Handle -c commands with arguments in rc.initial

Added by Emanuel Rietveld almost 4 years ago. Updated over 3 years 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 #3

Updated by Jim Pingle almost 4 years ago

  • Category set to Console Menu
  • Target version set to 2.5.0
Actions #4

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
Actions #5

Updated by Renato Botelho almost 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #6

Updated by Anonymous over 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF