Jump to content

Change the WebUI shell


Go to solution Solved by Mainfrezzer,

Recommended Posts

Hi,

 

I installed zsh on my machine, and seems to work quite nicely when I ssh into it, but the terminal button in the WebUI seems to default to bash, so when I open a terminal with this button, the first thing I have to do is run zsh. Is there a way to change this button to zsh directly?

Link to comment
  • Solution

yes there is a way, but its not persistent accross reboots and you would have to integrate that into a script within the go file.

basically what you have to change is the OpenTerminal.php in /usr/local/emhttp/plugins/dynamix/include/ to change the execution code bash to whatever you want the button to do.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...