diff options
author | Simon Rettberg | 2022-02-21 18:25:18 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-02-21 18:25:18 +0100 |
commit | 67bfedfe52ed2063ba3f0bff1cb71b1e807f4b89 (patch) | |
tree | 62d1ace8873b07b043b8784982d78f6b43ab4344 /core/modules/dhcpc-busybox/data/etc | |
parent | [debug-report-bwlp] Add brctl show (diff) | |
download | mltk-67bfedfe52ed2063ba3f0bff1cb71b1e807f4b89.tar.gz mltk-67bfedfe52ed2063ba3f0bff1cb71b1e807f4b89.tar.xz mltk-67bfedfe52ed2063ba3f0bff1cb71b1e807f4b89.zip |
[dhcp-busybox] Add service to create additional bridges
Diffstat (limited to 'core/modules/dhcpc-busybox/data/etc')
2 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/dhcpc-busybox/data/etc/systemd/system/bridge-additional-nics.service b/core/modules/dhcpc-busybox/data/etc/systemd/system/bridge-additional-nics.service new file mode 100644 index 00000000..df36e015 --- /dev/null +++ b/core/modules/dhcpc-busybox/data/etc/systemd/system/bridge-additional-nics.service @@ -0,0 +1,10 @@ +[Unit] +Description=Setup bridges for addition network interfaces +Wants=systemd-udevd.service +After=systemd-udev-settle.service systemd-udevd.service +Before=network.target + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/systemd-bridge_additional_nics +RemainAfterExit=true diff --git a/core/modules/dhcpc-busybox/data/etc/systemd/system/network.target.wants/bridge-additional-nics.service b/core/modules/dhcpc-busybox/data/etc/systemd/system/network.target.wants/bridge-additional-nics.service new file mode 120000 index 00000000..948dc5d7 --- /dev/null +++ b/core/modules/dhcpc-busybox/data/etc/systemd/system/network.target.wants/bridge-additional-nics.service @@ -0,0 +1 @@ +../bridge-additional-nics.service
\ No newline at end of file |