diff options
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 |