Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ncp/SYSTEM/nc-hdd-test.sh')
-rw-r--r--bin/ncp/SYSTEM/nc-hdd-test.sh8
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
}