Skip to content

Commit f473f73

Browse files
committed
nc-hdd-monitor: fix Bullseye service name
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent c9610e4 commit f473f73

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

bin/ncp/SYSTEM/nc-hdd-monitor.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
is_active()
1414
{
15-
systemctl -q is-enabled smartd &>/dev/null
15+
systemctl -q is-enabled smartmontools &>/dev/null
1616
}
1717

1818
configure()
@@ -24,7 +24,7 @@ configure()
2424
}
2525

2626
[[ "$ACTIVE" != yes ]] && {
27-
systemctl disable --now smartd
27+
systemctl disable --now smartmontools
2828
echo "HDD monitor disabled"
2929
return 0
3030
}
@@ -69,7 +69,7 @@ EOF
6969

7070
done
7171

72-
systemctl enable --now smartd
72+
systemctl enable --now smartmontools
7373
echo "HDD monitor enabled"
7474
}
7575

changelog.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

2-
[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/71c6f5d) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue
2+
[v1.46.7](https://github.com/nextcloud/nextcloudpi/commit/bd49019) (2022-03-04) nc-hdd-monitor: fix Bullseye service name
33

4-
[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/adab07c) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios
4+
[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/c9610e4) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue
5+
6+
[v1.46.5 ](https://github.com/nextcloud/nextcloudpi/commit/062c803) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios
57

68
[v1.46.4 ](https://github.com/nextcloud/nextcloudpi/commit/06ba8a0) (2022-03-02) nc-scan: check for maintenance mode enabled
79

@@ -15,7 +17,7 @@
1517

1618
[v1.45.0 ](https://github.com/nextcloud/nextcloudpi/commit/9bf5ff0) (2021-11-09) update to Debian 11 Bullseye
1719

18-
[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)
20+
[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)
1921

2022
[v1.44.7 ](https://github.com/nextcloud/nextcloudpi/commit/bcd850c) (2021-12-13) letsencrypt: fix invalid arithmetic operator error
2123

0 commit comments

Comments
 (0)