summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
diff options
context:
space:
mode:
authorSimon Rettberg2020-09-23 13:19:09 +0200
committerSimon Rettberg2020-09-23 13:19:09 +0200
commit368579ee5498b5051cc32fe42df2caff2573fc74 (patch)
treee67066b506e56fbfa6db634caa85fe72657ff5c0 /core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
parent[idleaction] Disable screensaver in remoteaccess mode (diff)
downloadmltk-368579ee5498b5051cc32fe42df2caff2573fc74.tar.gz
mltk-368579ee5498b5051cc32fe42df2caff2573fc74.tar.xz
mltk-368579ee5498b5051cc32fe42df2caff2573fc74.zip
[*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.d
Since we can set PATH for everything spawned by systemd, this boilerplate code is not needed anymore. Makes future changes much easier.
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env')
-rwxr-xr-xcore/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env b/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
index efc85ad3..ddcb81c5 100755
--- a/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
+++ b/core/modules/run-virt/data/opt/openslx/scripts/systemd-run_virt_env
@@ -23,8 +23,6 @@
### Define default dirs / get configs
################################################################################
-export PATH=$PATH:/opt/openslx/bin:/opt/openslx/sbin
-
# source config file with vars (e.g. ipaddr, macaddr, HOSTNAME)
. /opt/openslx/config