Mercurial > repo
annotate bin/autowelcome @ 8497:2c419f225667
<izabera> ` echo \'for file do mapfile -t lines < "$file"; for (( i = ${#lines[@]} -1; i >= 0; i-- )) do printf "%s\\n" "${lines[i]}"; done done\' >> bin/tac
author | HackBot |
---|---|
date | Thu, 16 Jun 2016 09:40:02 +0000 |
parents | 13b0867d7d25 |
children |
rev | line source |
---|---|
6335
13b0867d7d25
<oerjan> ` sed -i \'s!autow!share/autow!g\' bin/autowelcome
HackBot
parents:
6334
diff
changeset
|
1 [ "$1" == "on" ] && echo enabled > share/autowelcome_status; [ "$1" == "off" ] && echo disabled > share/autowelcome_status; echo "Autowelcome $(cat share/autowelcome_status)." |