#!/bin/sh

if [ $# != 1 ]; then
    echo "usage: $0 key"
    exit 1
fi

if [ ! -f /storage/config ]; then
    # create it if it's not there
    # touch /storage/config
    cp /etc/default_config /storage/config
fi

cat /storage/config | grep "^$1 "|sed "s/^$1 //"

