OpenMediaVault-Plugin-Developers / openmediavault-autoshutdown

OpenMediaVault plugin to provide frontend for autoshutdown script
37 stars 31 forks source link

error in /usr/sbin/autoshutdown #131

Closed Bulmer closed 1 month ago

Bulmer commented 6 months ago

I am using a fork of your code, for a non-openmediavault Debian server. I am getting the following error which results in the occasional total shutdown. /usr/sbin/autoshutdown: line 924: 0.00: syntax error: invalid arithmetic operator (error token is ".00")

ryecoaaron commented 6 months ago

It looks like the fork has changed something because line 924 is blank in the code in this repo. I would ask the person who forked the script for help. https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-autoshutdown/blob/master/usr/sbin/autoshutdown#L924