#!/bin/sh
shift
if [ "$1" = "get" ]; then
cat "$TEMPFILE"
elif [ "$1" = "set" ]; then
name="$1"
val="$*"
echo "${name} = ${val}" >> "$TEMPFILE"
fi