Mercurial > hg > dml-home
changeset 84:ead9f95b0f97 dml-dockerised
back to switch
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Mon, 04 Jun 2018 18:36:28 +0100 |
parents | 1936b1b33a38 |
children | 87121da9c651 |
files | etc/setup_as_root.sh |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/setup_as_root.sh Mon Jun 04 18:27:18 2018 +0100 +++ b/etc/setup_as_root.sh Mon Jun 04 18:36:28 2018 +0100 @@ -5,12 +5,12 @@ SWI_GUI=no SETUP_X=yes HEADLESS=yes -DRY_RUN=no +DRY_RUN=yes -#if [ $# -gt 0 ]; then -# echo "Setting DRY_RUN to $1" 1>&2 -# DRY_RUN=$1 -#fi +if [ $# -gt 0 ]; then + echo "Setting DRY_RUN to $1" 1>&2 + DRY_RUN=$1 +fi # If DRY_RUN=yes, then this script will do nothing, but will output the commands # it would have done to stdout. @@ -86,4 +86,4 @@ 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config fi fi - +echo "ALL DONE"