summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd-default-path
diff options
context:
space:
mode:
authorJonathan Bauer2020-09-28 15:13:15 +0200
committerJonathan Bauer2020-09-28 15:13:15 +0200
commit45328e65091a190a55820d78268751a823b6297c (patch)
tree449710a4a537e31e856d35476d210440330d32e4 /core/modules/systemd-default-path
parent[vbox-src] add nasm (diff)
downloadmltk-45328e65091a190a55820d78268751a823b6297c.tar.gz
mltk-45328e65091a190a55820d78268751a823b6297c.tar.xz
mltk-45328e65091a190a55820d78268751a823b6297c.zip
[systemd-default-path] new module to set our PATH
Diffstat (limited to 'core/modules/systemd-default-path')
-rw-r--r--core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf2
-rw-r--r--core/modules/systemd-default-path/module.build14
-rw-r--r--core/modules/systemd-default-path/module.conf4
3 files changed, 20 insertions, 0 deletions
diff --git a/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf b/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf
new file mode 100644
index 00000000..238b834c
--- /dev/null
+++ b/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf
@@ -0,0 +1,2 @@
+[Manager]
+DefaultEnvironment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin"
diff --git a/core/modules/systemd-default-path/module.build b/core/modules/systemd-default-path/module.build
new file mode 100644
index 00000000..a183dc1f
--- /dev/null
+++ b/core/modules/systemd-default-path/module.build
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+fetch_source() {
+ :
+}
+
+build() {
+ :
+}
+
+post_copy() {
+ :
+}
+
diff --git a/core/modules/systemd-default-path/module.conf b/core/modules/systemd-default-path/module.conf
new file mode 100644
index 00000000..46eb4e93
--- /dev/null
+++ b/core/modules/systemd-default-path/module.conf
@@ -0,0 +1,4 @@
+#!/bin/bash
+REQUIRED_MODULES="
+ iptables
+"