link shutdown commands to poweroff for wol compatibility

  • Hi All,

    So I've gotten wake on lan working on OMV5 with my N40L. The problem I have is it needs to do a "poweroff" or it wont work. From the command line as root "halt" doesnt work (I understand why) and "shutdown" doesnt seem to do anything whereas the "poweroff" command as root works perfectly and I can use WOL clients to restart the server remotely. Both the autoshutdown plugin and the scheduled jobs under power management offer shutdown, reboot or suspend.


    I want to issue "poweroff" instead. Is there a way to make the system use "poweroff" instead of "shutdown"? I'm thinking an alias so that when openmediavault issues the "shutdown" command (which is what I think it does from these screens) it actually issues "poweroff"? Thanks in advance!?(

  • aemee123

    Hat das Label OMV 5.x hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!