Mercurial > hg > anonet-resdb
annotate scripts/conf_var @ 1106:9bb8ef4df8da draft
Replaced broken nameserver ns.lynx.ano for ucis.ano and kwaaknet.ano
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Thu, 02 May 2013 18:58:06 +0200 |
parents | 41b330b11a33 |
children |
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 |