diff options
author | Jonathan Bauer | 2018-04-09 17:39:40 +0200 |
---|---|---|
committer | Jonathan Bauer | 2018-04-09 17:39:40 +0200 |
commit | 7b0bf2a304c6a174ff709ba3f4bd71d807e1e877 (patch) | |
tree | 5ff8604141e3515fc91a8ab00b40e3a9ce3d15c4 | |
parent | [smartctl] add /opt/openslx/* to PATH (diff) | |
download | mltk-7b0bf2a304c6a174ff709ba3f4bd71d807e1e877.tar.gz mltk-7b0bf2a304c6a174ff709ba3f4bd71d807e1e877.tar.xz mltk-7b0bf2a304c6a174ff709ba3f4bd71d807e1e877.zip |
new module for special slx network targets
5 files changed, 20 insertions, 0 deletions
diff --git a/core/modules/network-online-slx-targets/data/etc/systemd/system/network-dns.target b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-dns.target new file mode 100644 index 00000000..8bc541ab --- /dev/null +++ b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-dns.target @@ -0,0 +1,2 @@ +[Unit] +Description=DNS Server available diff --git a/core/modules/network-online-slx-targets/data/etc/systemd/system/network-gateway.target b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-gateway.target new file mode 100644 index 00000000..11139162 --- /dev/null +++ b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-gateway.target @@ -0,0 +1,2 @@ +[Unit] +Description=Default route configured diff --git a/core/modules/network-online-slx-targets/data/etc/systemd/system/network-online.target.d/00-slx-targets.conf b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-online.target.d/00-slx-targets.conf new file mode 100644 index 00000000..898d20b1 --- /dev/null +++ b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-online.target.d/00-slx-targets.conf @@ -0,0 +1,3 @@ +[Unit] +Wants=network-gateway.target network-dns.target +Before=network-gateway.target network-dns.target diff --git a/core/modules/network-online-slx-targets/module.build b/core/modules/network-online-slx-targets/module.build new file mode 100644 index 00000000..241bcd5e --- /dev/null +++ b/core/modules/network-online-slx-targets/module.build @@ -0,0 +1,12 @@ +#!/bin/bash +fetch_source() { + : +} + +build() { + pinfo "Static module, nothing to build." +} + +post_copy() { + : +} diff --git a/core/modules/network-online-slx-targets/module.conf b/core/modules/network-online-slx-targets/module.conf new file mode 100644 index 00000000..c01ade29 --- /dev/null +++ b/core/modules/network-online-slx-targets/module.conf @@ -0,0 +1 @@ +# Nothing |