From b559df204f4d99b9be8cb86686f844f33c687b19 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 19 Apr 2010 06:10:07 +0000 Subject: coded a tinydns datafile generator --- scripts/conf_var | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/conf_var (limited to 'scripts/conf_var') 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 -- cgit v1.2.3