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:
authornachoparker <nacho@ownyourbits.com>2022-03-05 01:55:39 +0300
committernachoparker <nacho@ownyourbits.com>2022-03-05 01:56:39 +0300
commitf473f737fd127c5e40153d133cb814bf7e8a7a86 (patch)
treefa30081d8cd514ddebe85bc03de81840ebd6b4c7
parentc9610e4d5c90888334047f82ab8086a0c9e77cc3 (diff)
nc-hdd-monitor: fix Bullseye service namev1.46.7
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--bin/ncp/SYSTEM/nc-hdd-monitor.sh6
-rw-r--r--changelog.md8
2 files changed, 8 insertions, 6 deletions
diff --git a/bin/ncp/SYSTEM/nc-hdd-monitor.sh b/bin/ncp/SYSTEM/nc-hdd-monitor.sh
index 15317252..4b99da7e 100644
--- a/bin/ncp/SYSTEM/nc-hdd-monitor.sh
+++ b/bin/ncp/SYSTEM/nc-hdd-monitor.sh
@@ -12,7 +12,7 @@
is_active()
{
- systemctl -q is-enabled smartd &>/dev/null
+ systemctl -q is-enabled smartmontools &>/dev/null
}
configure()
@@ -24,7 +24,7 @@ configure()
}
[[ "$ACTIVE" != yes ]] && {
- systemctl disable --now smartd
+ systemctl disable --now smartmontools
echo "HDD monitor disabled"
return 0
}
@@ -69,7 +69,7 @@ EOF
done
- systemctl enable --now smartd
+ systemctl enable --now smartmontools
echo "HDD monitor enabled"
}
diff --git a/changelog.md b/changelog.md
index 09015f11..7cd326ec 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,7 +1,9 @@
-[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/71c6f5d) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue
+[v1.46.7](https://github.com/nextcloud/nextcloudpi/commit/bd49019) (2022-03-04) nc-hdd-monitor: fix Bullseye service name
-[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/adab07c) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios
+[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/c9610e4) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue
+
+[v1.46.5 ](https://github.com/nextcloud/nextcloudpi/commit/062c803) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios
[v1.46.4 ](https://github.com/nextcloud/nextcloudpi/commit/06ba8a0) (2022-03-02) nc-scan: check for maintenance mode enabled
@@ -15,7 +17,7 @@
[v1.45.0 ](https://github.com/nextcloud/nextcloudpi/commit/9bf5ff0) (2021-11-09) update to Debian 11 Bullseye
-[v1.44.8](https://github.com/nextcloud/nextcloudpi/commit/dd8fc3d) (2022-01-10) fix update from pre-1.46 to post-1.46 not working in docker (#1406)
+[v1.44.8 ](https://github.com/nextcloud/nextcloudpi/commit/dd8fc3d) (2022-01-10) fix update from pre-1.46 to post-1.46 not working in docker (#1406)
[v1.44.7 ](https://github.com/nextcloud/nextcloudpi/commit/bcd850c) (2021-12-13) letsencrypt: fix invalid arithmetic operator error