Add OpenVPN 2.1rc12 source (unconfigured)
[tomato.git] / release / src / router / openvpn / easy-rsa / 1.0 / clean-all
blobd10aef5fda62e390d07ac16ae4cac7fced285722
1 #!/bin/sh
4 # Initialize the $KEY_DIR directory.
5 # Note that this script does a
6 # rm -rf on $KEY_DIR so be careful!
9 d=$KEY_DIR
11 if test $d; then
12 rm -rf $d
13 mkdir $d && \
14 chmod go-rwx $d && \
15 touch $d/index.txt && \
16 echo 01 >$d/serial
17 else
18 echo you must define KEY_DIR