aif-ng/aif/network/__init__.py

17 lines
546 B
Python
Raw Normal View History

2019-11-10 05:39:33 -05:00
try:
from . import _common
except ImportError:
pass # GI isn't supported, so we don't even use a fallback.
# TODO: use DBus interface for systemd but fallback to subprocess?
# http://0pointer.net/blog/the-new-sd-bus-api-of-systemd.html
# https://www.youtube.com/watch?v=ZUX9Fx8Rwzg
# https://www.youtube.com/watch?v=lBQgMGPxqNo
# https://github.com/facebookincubator/pystemd has some unit/service examples
# try:
# from . import networkd
# except ImportError:
# from . import networkd_fallback as networkd
from . import netctl