~ubuntu-branches/ubuntu/raring/openvswitch/raring

« back to all changes in this revision

Viewing changes to debian/openvswitch-controller.init

  • Committer: Felix Geyer
  • Date: 2011-08-26 10:04:27 UTC
  • mfrom: (17.1.1 openvswitch)
  • Revision ID: debfx-pkg@fobos.de-20110826100427-t49goifhjyeu7x81
Tags: 1.2.0-1ubuntu2
* Fix on openvswitch-controller.init (LP: #822142)
  - Make sure we have a directory under /var/run to create the
    pidfile for openvswitch-controller, backported from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
 
3
# Copyright (c) 2011 Nicira Networks Inc.
3
4
# Copyright (c) 2007, 2009 Javier Fernandez-Sanguino <jfs@debian.org>
4
5
#
5
6
# This is free software; you may redistribute it and/or modify
105
106
        exit 0
106
107
    fi
107
108
 
 
109
    if [ ! -d /var/run/openvswitch ]; then
 
110
        install -d -m 755 -o root -g root /var/run/openvswitch
 
111
    fi
 
112
 
108
113
    SSL_OPTS=
109
114
    case $LISTEN in
110
115
        *ssl*)