From 368579ee5498b5051cc32fe42df2caff2573fc74 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 23 Sep 2020 13:19:09 +0200 Subject: [*] 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. --- core/modules/smartctl/data/opt/openslx/scripts/systemd-smartctl | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/modules/smartctl') 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 -- cgit v1.2.3-55-g7522