Hello,
VERSION="0.9.9.10"
After config still the same, there are two hosts (IP from DHCP) one is laptop and second is TV. Why the script not pass next steps and finally sleep the machine?
Code
root@omv1T:/tmp/autoshutdown# tail /var/log/autoshutdown.log
Mar 4 19:40:54 omv1T root: autoshutdown[28622]: INFO: ' retrieve list of active IPs for 'enp0s10' ...'
Mar 4 19:41:07 omv1T root: autoshutdown[28622]: INFO: ' Found IP 192.168.10.145 as active host.'
Mar 4 19:41:07 omv1T root: autoshutdown[28622]: INFO: ' Found IP 192.168.10.242 as active host.'
Mar 4 19:41:07 omv1T root: autoshutdown[28622]: INFO: ' sleep for 60s.'
Mar 4 19:42:07 omv1T root: autoshutdown[28622]: INFO: '------------------------------------------------------'
Mar 4 19:42:07 omv1T root: autoshutdown[28622]: INFO: ' new supervision cycle started - check active hosts or processes'
Mar 4 19:42:07 omv1T root: autoshutdown[28622]: INFO: ' retrieve list of active IPs for 'enp0s10' ...'
Mar 4 19:42:20 omv1T root: autoshutdown[28622]: INFO: ' Found IP 192.168.10.145 as active host.'
Mar 4 19:42:20 omv1T root: autoshutdown[28622]: INFO: ' Found IP 192.168.10.242 as active host.'
Mar 4 19:42:20 omv1T root: autoshutdown[28622]: INFO: ' sleep for 60s.'
root@omv1T:/tmp/autoshutdown#
Alles anzeigen
Configuration is:
Code
# This configuration file is auto-generated.
# WARNING: Do not edit this file, your changes will be lost.
ENABLE="true"
CYCLES=6
SLEEP=60
RANGE="10..254"
SHUTDOWNCOMMAND="systemctl suspend"
CHECKCLOCKACTIVE="false"
UPHOURS="6..20"
NSOCKETNUMBERS="21,22,80,139,445"
ULDLCHECK="true"
ULDLRATE=80
LOADAVERAGECHECK="false"
LOADAVERAGE=40
HDDIOCHECK="false"
HDDIO_RATE=401
CHECK_SAMBA="false"
CHECK_CLI="true"
SYSLOG="true"
VERBOSE="false"
FAKE="false"
Alles anzeigen
The script come from OMV: 4.1.19-1 (Arrakis)
Please help
BR, Krzysie