view scripts/conf_var @ 1141:58130f5eecf2 draft

found a bug when sending just '.'... wasn't good.
author epoch <epoch@hacking.allowed.org>
date Sun, 06 Oct 2013 11:45:06 +0000
parents 41b330b11a33
children
line wrap: on
line source

#!/bin/sh
if [ -r "conf/$1" ]; then
 exec cat "conf/$1"
else
 echo "$2"
 exec false
fi