Mercurial > repo
changeset 6164:749558cfba4b
<tswett> echo \'[ "$1" == "on" ] && echo enabled > autowelcome_status; [ "$1" == "off" ] && echo disabled > autowelcome_status; echo "Autowelcome $(cat autowelcome_status)."\' > bin/autowelcome
author | HackBot |
---|---|
date | Sun, 01 Nov 2015 02:51:17 +0000 |
parents | c9e2530ab255 |
children | c36628d16527 |
files | bin/autowelcome |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)."