Malese / vmware-fs-ctl

start|stop|restart|status script for running a headless OS in VmWare Fusion on OSx including handle mounting/unmounting of the OS´s root filesystem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduce quiet mode

Malese opened this issue · comments

Introduce quiet mode by use of "q" argument while still writing to history.log/error.log
Redirect stderr from commands within the script to error.log in quiet mode.
Could come in handy if running script from a logout-hook or similar.

The q argument now suppresses output to stdout and messages are only logged to history.log/error.log.
Some error-messages I have still to encounter might fall through though.
Ex: $ sudo vmware-fs-ctl.sh status q