view bin/autowelcome @ 7558:cbd0b9f4e0d4

<fizzie> ` mv script{,add} bin/ # I guess they could be there just as well -- but how did you write those things in the first place?
author HackBot
date Wed, 27 Apr 2016 23:14:39 +0000
parents 13b0867d7d25
children
line wrap: on
line source

[ "$1" == "on" ] && echo enabled > share/autowelcome_status; [ "$1" == "off" ] && echo disabled > share/autowelcome_status; echo "Autowelcome $(cat share/autowelcome_status)."