summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/opt/openslx/scripts
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/hardware-stats/data/opt/openslx/scripts
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/hardware-stats/data/opt/openslx/scripts')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
index d059657e..dd334cc7 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
@@ -8,8 +8,6 @@
export LANG=C
export LC_ALL=C
-export PATH=$PATH:/opt/openslx/sbin:/opt/openslx/bin
-
touch "/tmp/hw-delete-list" || exit 10
chmod 0600 "/tmp/hw-delete-list" || exit 11
echo -n "" > "/tmp/hw-delete-list" || exit 12