#!/bin/sh mkdir /var/run/memory chmod 777 /var/run/memory set -e cp -a /opt/var/kdb/memory_init/memory/* /var/run/memory