repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add OpenVPN 2.1rc12 source (unconfigured)
[tomato.git]
/
release
/
src
/
router
/
openvpn
/
easy-rsa
/
1.0
/
clean-all
blob
d10aef5fda62e390d07ac16ae4cac7fced285722
1
#!/bin/sh
2
3
#
4
# Initialize the $KEY_DIR directory.
5
# Note that this script does a
6
# rm -rf on $KEY_DIR so be careful!
7
#
8
9
d
=
$KEY_DIR
10
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
19
fi