I expect to have two ways to customize what happens when you load a page with Wanix. One is to replace the shell that Wanix starts in the default console, which for now can be done by replacing the shell command. This issue proposes another that's done at the shell level of the built-in shell. If an autorun.sh shell script exists in /cmd or /sys/cmd, it will be run as if the user ran it as the first command.
The use case for this is to launch applications. A Wanix domain might be setup specifically to run a web application, and this would be one way to make it start that should also open up other bashrc-like customization and automation on session starts.
I expect to have two ways to customize what happens when you load a page with Wanix. One is to replace the shell that Wanix starts in the default console, which for now can be done by replacing the
shell
command. This issue proposes another that's done at the shell level of the built-in shell. If anautorun.sh
shell script exists in/cmd
or/sys/cmd
, it will be run as if the user ran it as the first command.The use case for this is to launch applications. A Wanix domain might be setup specifically to run a web application, and this would be one way to make it start that should also open up other bashrc-like customization and automation on session starts.