automatic input in bash pfsense shell to get access to true shell
<p>I am confronted with a problem, where I have to automate a task to run a script in <strong>pfsense shell</strong>, but every time I login in remotely in pfsense I am presented with menu to choose from i.e. to enter shell I have to press 8 every time order to get access to shell and run script there.
Is there any way to skip that 8 pressing part and get directly the shell to work on or any other way in a shell/bash script that automatically presses 8, and I get shell directly.
Screenshots are below:</p>

<blockquote>
  <p><a href="https://i.stack.imgur.com/Ccmhd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ccmhd.png" alt="enter image description here"></a></p>
</blockquote>

<p>This is the shell I get when I login remotely, you can clearly see that I have to press 8 for getting into the shell</p>

<blockquote>
  <p><a href="https://i.stack.imgur.com/8RC9s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8RC9s.png" alt="enter image description here"></a></p>
</blockquote>

<p>See that after pressing 8, I got access to shell where I can run actual commands.
Any help will be appreciated.</p>