# HG changeset patch # User wolffd # Date 1528133788 -3600 # Node ID ead9f95b0f97f6c81d35e4854f44d3b740863670 # Parent 1936b1b33a38e8d67c897faa35361402a45b2343 back to switch diff -r 1936b1b33a38 -r ead9f95b0f97 etc/setup_as_root.sh --- 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"