Shell command in monowall upon boot
How do I start vmware-tools everytime monowall starts?
1)
login to the webinterface.
2)
Make a backup of the configuration, the output is a XML file.
3)
Edit the XML file in a texteditor. Make the changes and upload it to the firewall.
4)
monowall reboots
Configuration file:
You can insert the shell command inside <shellcmd and </shellcmd>
The whole thing has to be placed after </webgui> and before </system>
Se the example below:
</webgui>
<dnsserver>10.0.0.100</dnsserver>
<dnsserver>10.0.0.101</dnsserver>
<shellcmd>vmware-guestd –background /var/run/guestd.pid</shellcmd>
</system>