summaryrefslogtreecommitdiff
path: root/scripts/conf_var
diff options
context:
space:
mode:
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