diff options
author | Simon Rettberg | 2020-09-23 13:19:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-23 13:19:09 +0200 |
commit | 368579ee5498b5051cc32fe42df2caff2573fc74 (patch) | |
tree | e67066b506e56fbfa6db634caa85fe72657ff5c0 /core/modules/hardware-stats/data/opt/openslx/scripts | |
parent | [idleaction] Disable screensaver in remoteaccess mode (diff) | |
download | mltk-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-x | core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats | 2 |
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 |