4b90f751ca
Normally dirs.py is created from dirs.py.template by configure script. Create it manually for our own copy. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
14 lines
487 B
Python
14 lines
487 B
Python
import os
|
|
PKGDATADIR = os.environ.get("OVS_PKGDATADIR", """/usr/share/openvswitch""")
|
|
RUNDIR = os.environ.get("OVS_RUNDIR", """/var/run/openvswitch""")
|
|
LOGDIR = os.environ.get("OVS_LOGDIR", """/var/log/openvswitch""")
|
|
BINDIR = os.environ.get("OVS_BINDIR", """/usr/bin""")
|
|
|
|
DBDIR = os.environ.get("OVS_DBDIR")
|
|
if not DBDIR:
|
|
sysconfdir = os.environ.get("OVS_SYSCONFDIR")
|
|
if sysconfdir:
|
|
DBDIR = "%s/openvswitch" % sysconfdir
|
|
else:
|
|
DBDIR = """/etc/openvswitch"""
|