projects
/
sysadmin-cookbook
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix host mountpoint
[sysadmin-cookbook]
/
recepies
/
openvpn
/
1.on-server.generate-static-key.sh
1
#!/bin/sh -x
2
KEY=/etc/openvpn/`hostname`.key
3
test -f $KEY && ls -al $KEY || openvpn --genkey --secret $KEY
4
echo "transfer $KEY to client"