summaryrefslogtreecommitdiff
path: root/scripts/conf_var
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2010-04-19 06:10:07 +0000
committerNick <nick@somerandomnick.ano>2010-04-19 06:10:07 +0000
commitb559df204f4d99b9be8cb86686f844f33c687b19 (patch)
tree0ddeb523898731e50b1ee0bfc6a93a6a7400844a /scripts/conf_var
parentb036de602aa1ec18e7a4da07f4a7a76932441f7c (diff)
downloadresdb-b559df204f4d99b9be8cb86686f844f33c687b19.tar.gz
resdb-b559df204f4d99b9be8cb86686f844f33c687b19.zip
coded a tinydns datafile generator
Diffstat (limited to 'scripts/conf_var')
-rwxr-xr-xscripts/conf_var7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/conf_var b/scripts/conf_var
new file mode 100755
index 0000000..b2bffaf
--- /dev/null
+++ b/scripts/conf_var
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ -r "conf/$1" ]; then
+ exec cat "conf/$1"
+else
+ echo "$2"
+ exec false
+fi