projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f916d1c
)
ovs-monitor-ipsec: Create cert directory if it doesn't exist.
author
Justin Pettit
<jpettit@nicira.com>
Tue, 18 Jan 2011 08:09:15 +0000
(
00:09
-0800)
committer
Justin Pettit
<jpettit@nicira.com>
Thu, 20 Jan 2011 01:53:17 +0000
(17:53 -0800)
debian/ovs-monitor-ipsec
patch
|
blob
|
history
diff --git
a/debian/ovs-monitor-ipsec
b/debian/ovs-monitor-ipsec
index 12ff9f5f2f75e4b86e1262be9397cbe1e3e1c254..17f399767c60a5475245bb47e8c88b73411e48a3 100755
(executable)
--- a/
debian/ovs-monitor-ipsec
+++ b/
debian/ovs-monitor-ipsec
@@
-116,6
+116,9
@@
path certificate "%s";
self.psk_hosts = {}
self.cert_hosts = {}
+ if not os.path.isdir(self.cert_dir):
+ os.mkdir(self.cert_dir)
+
# Clean out stale peer certs from previous runs
for ovs_cert in glob.glob("%s/ovs-*.pem" % self.cert_dir):
try: