# HG changeset patch # User HackBot # Date 1446346277 0 # Node ID 749558cfba4bbda12205dc0baf39a188cbf8f9b5 # Parent c9e2530ab2553217a79ff71d62b0c2b7a8ea5576 echo \'[ "$1" == "on" ] && echo enabled > autowelcome_status; [ "$1" == "off" ] && echo disabled > autowelcome_status; echo "Autowelcome $(cat autowelcome_status)."\' > bin/autowelcome diff -r c9e2530ab255 -r 749558cfba4b bin/autowelcome --- a/bin/autowelcome Sat Oct 31 11:47:16 2015 +0000 +++ b/bin/autowelcome Sun Nov 01 02:51:17 2015 +0000 @@ -1,1 +1,1 @@ -[ "$1" == "on" ] && echo 'Autowelcome enabled.' || echo 'Autowelcome disabled.' +[ "$1" == "on" ] && echo enabled > autowelcome_status; [ "$1" == "off" ] && echo disabled > autowelcome_status; echo "Autowelcome $(cat autowelcome_status)."