Possible to poweroff

The ‘poweroff’ command, the equivalent of ‘halt -p’, has been added based on a suggestion from Robin Hahling.

Posted by     Categories: Committed Code, DragonFly     2 Comments
2 Comments on Possible to poweroff


  1. FinFin says:

    Was that necessary for anything? I was already pissed by Debian making an `ls´ equivalent called `dir´.

  2. Rolinh says:

    I actually imported/adapted the code from FreeBSD. The change is minimal: poweroff is a hard link and less than 20 lines added to shutdown.c.
    Linux has it, FreeBSD, NetBSD has it… There is no reason why DragonFly should not have it as this improves compatibility with the aforementioned systems and it does not require to be maintained over time.