#!/bin/bash # Author: Steven Shiau # License: GPL # This file should be in /usr/bin/, not in /usr/share/drbl, so drblpush can call it in the beginning. export LC_ALL=C # Source DRBL setting DRBL_SCRIPT_PATH="${DRBL_SCRIPT_PATH:-/usr/share/drbl}" . /etc/drbl/drbl.conf wanted=$1 eval return_var=\$$wanted [ -n "$return_var" ] && echo $return_var