X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=debian%2Fopenvswitch-controller.init;h=1638f149527c6fea23f38f4e03c24729fd141dab;hb=26ce31583b1654a3acaaf6de8e9567e327fbc104;hp=4781f83f2148c747ed5c50f25931ec1165875100;hpb=9704460403a02554595b5a7ed17914a0b0357cac;p=openvswitch diff --git a/debian/openvswitch-controller.init b/debian/openvswitch-controller.init index 4781f83f..1638f149 100755 --- a/debian/openvswitch-controller.init +++ b/debian/openvswitch-controller.init @@ -1,5 +1,6 @@ #!/bin/sh # +# Copyright (c) 2011 Nicira Networks Inc. # Copyright (c) 2007, 2009 Javier Fernandez-Sanguino # # This is free software; you may redistribute it and/or modify @@ -105,6 +106,10 @@ start_server() { exit 0 fi + if [ ! -d /var/run/openvswitch ]; then + install -d -m 755 -o root -g root /var/run/openvswitch + fi + SSL_OPTS= case $LISTEN in *ssl*)