Skip to content

Commit

Permalink
nc-hdd-monitor: fix Bullseye service name
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Mar 4, 2022
1 parent c9610e4 commit f473f73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bin/ncp/SYSTEM/nc-hdd-monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

is_active()
{
systemctl -q is-enabled smartd &>/dev/null
systemctl -q is-enabled smartmontools &>/dev/null
}

configure()
Expand All @@ -24,7 +24,7 @@ configure()
}

[[ "$ACTIVE" != yes ]] && {
systemctl disable --now smartd
systemctl disable --now smartmontools
echo "HDD monitor disabled"
return 0
}
Expand Down Expand Up @@ -69,7 +69,7 @@ EOF

done

systemctl enable --now smartd
systemctl enable --now smartmontools
echo "HDD monitor enabled"
}

Expand Down
8 changes: 5 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down

0 comments on commit f473f73

Please sign in to comment.