diff scripts/conf_var @ 12:41b330b11a33 draft

coded a tinydns datafile generator
author Nick <nick@somerandomnick.ano>
date Mon, 19 Apr 2010 06:10:07 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/conf_var	Mon Apr 19 06:10:07 2010 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ -r "conf/$1" ]; then
+ exec cat "conf/$1"
+else
+ echo "$2"
+ exec false
+fi