annotate scripts/conf_var @ 977:2197040ef7cb draft

modified: db/as/1170/owner new file: db/udpmsg4/freenode/@/.gitignore new file: db/udpmsg4/freenode/@/default.key new file: db/udpmsg4/freenode/@/owner new file: db/udpmsg4/freenode/@/path modified: db/udpmsg4/irc2p/@/default.key modified: doc/www.anonet2.org/public_pod/index.htm modified: doc/www.anonet2.org/public_pod/index.pod
author Anonymous Coward <nobody@nowhere>
date Thu, 02 Aug 2012 04:19:13 +0000
parents 41b330b11a33
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
1 #!/bin/sh
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
2 if [ -r "conf/$1" ]; then
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
3 exec cat "conf/$1"
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
4 else
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
5 echo "$2"
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
6 exec false
41b330b11a33 coded a tinydns datafile generator
Nick <nick@somerandomnick.ano>
parents:
diff changeset
7 fi