kolla/docker/openvswitch/openvswitch-netcontrold/extend_start.sh

8 lines
261 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/openvswitch/netcontrold" ]]; then
mkdir -p /var/log/kolla/openvswitch/netcontrold
fi
if [[ $(stat -c %a /var/log/kolla/openvswitch/netcontrold) != "755" ]]; then
chmod 755 /var/log/kolla/openvswitch/netcontrold
fi