X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-controller.init;fp=debian%2Fopenvswitch-controller.init;h=1638f149527c6fea23f38f4e03c24729fd141dab;hb=298fd6d2d25ac8028f76c23cd52374370fe3be42;hp=4781f83f2148c747ed5c50f25931ec1165875100;hpb=7b6b0ef47e398a2fbda48fd385f9781b2df8bebb;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*)