17 lines
365 B
Bash
Executable File
17 lines
365 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export OVS_LOGDIR=${SNAP_COMMON}/log/openvswitch
|
|
export OVS_RUNDIR=${SNAP_COMMON}/run/openvswitch
|
|
export OVS_SYSCONFDIR=${SNAP_COMMON}/etc
|
|
export OVS_PKGDATADIR=${SNAP}/share/openvswitch
|
|
export OVS_BINDIR=${SNAP}/bin
|
|
export OVS_SBINDIR=${SNAP}/sbin
|
|
|
|
mkdir -p ${OVS_LOGDIR}
|
|
mkdir -p ${OVS_RUNDIR}
|
|
mkdir -p ${OVS_SYSCONFDIR}/openvswitch
|
|
|
|
exec $@
|