3
# Initialize the $KEY_DIR directory.
4
# Note that this script does a
5
# rm -rf on $KEY_DIR so be careful!
7
if [ "$KEY_DIR" ]; then
10
chmod go-rwx "$KEY_DIR" && \
11
touch "$KEY_DIR/index.txt" && \
12
echo 01 >"$KEY_DIR/serial"
14
echo 'Please source the vars script first (i.e. "source ./vars")'
15
echo 'Make sure you have edited it to reflect your configuration.'