count drives by type, ignoring serial number
[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"