github.com/yasker/longhorn-engine@v0.0.0-20160621014712-6ed6cfca0729/package/launch-driver (about)

     1  #!/usr/bin/env bash
     2  
     3  set -e -x
     4  
     5  if [ "$1" == "volumedriver" ]; then
     6      /usr/bin/share-mnt /var/lib/rancher/longhorn -- docker-longhorn-driver "$@"
     7  else
     8      docker-longhorn-driver "$@"
     9  fi