diff options
Diffstat (limited to 'bin/ncp/SYSTEM/nc-hdd-test.sh')
-rw-r--r-- | bin/ncp/SYSTEM/nc-hdd-test.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/ncp/SYSTEM/nc-hdd-test.sh b/bin/ncp/SYSTEM/nc-hdd-test.sh index ced4a597..8e063d43 100644 --- a/bin/ncp/SYSTEM/nc-hdd-test.sh +++ b/bin/ncp/SYSTEM/nc-hdd-test.sh @@ -12,12 +12,8 @@ install() { - apt-get update - apt-get install --no-install-recommends -y smartmontools - [[ "$DOCKERBUILD" == 1 ]] || { - systemctl disable smartd - systemctl stop smartd - } + apt_install smartmontools + systemctl disable smartd return } |