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/smartctl | |
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/smartctl')
-rwxr-xr-x | core/modules/smartctl/data/opt/openslx/scripts/systemd-smartctl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/smartctl/data/opt/openslx/scripts/systemd-smartctl b/core/modules/smartctl/data/opt/openslx/scripts/systemd-smartctl index 2ad5aa13..979fde62 100755 --- a/core/modules/smartctl/data/opt/openslx/scripts/systemd-smartctl +++ b/core/modules/smartctl/data/opt/openslx/scripts/systemd-smartctl @@ -1,7 +1,5 @@ #!/bin/ash -export PATH="$PATH:/opt/openslx/sbin:/opt/openslx/bin" - # Check Reallocated_Sector_Ct and Spin_Retry_Count of local disk(s) . /opt/openslx/config |