if [ ! -d /var/lib/atm ]; then
    mkdir /var/lib/atm
fi

if [ ! -e /var/lib/atm/state ]; then
    touch /var/lib/atm/state
fi
