On my system autoshutdown service chrashes at startup. This is the log output:
Code
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_config(): Kernel 4.19.0-14-amd64 supports power management modes:'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_config(): Kernel supports: HIBERNATE (suspend to DISK)'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_config(): Kernel supports: SUSPEND (suspend to RAM)'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_config(): Kernel supports: HYBRID-SLEEP (suspend to RAM and DISK)'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_config(): SHUTDOWNCOMMAND is set to: systemctl hibernate'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_networkconfig(): ------------------------------------------------------'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_networkconfig(): Find available network interfaces and their IPv4 addresses'
Feb 18 20:42:08 u-nas autoshutdown[2989]: root: INFO: '_check_networkconfig(): 'eno1' has IPv4 address: 192.168.41.22'
Feb 18 20:42:08 u-nas autoshutdown[2989]: /usr/sbin/autoshutdown: line 1127: /sys/class/net/eno1.42@eno1/operstate: No such file or directory
The file directory does not exits, the correct path would be:
The path followed sysmlinks is
How can I fix the '@eno1'?