Reply To: CLI shutdown command functionality

Forum › Forums › antiX-development › Development › CLI shutdown command functionality › Reply To: CLI shutdown command functionality

#200920
Brian Masinick
Moderator

    @Wallon, I’ve been doing something similar for a while:

    On my antiX 26 system I am using
    alias pow='sync;sync;sync;sleep 2s;sudo /lib/init-diversity/poweroff.sh'
    so pow does the poweroff functionality and I use this routine for consistency.

    On antix 23.2 it looks similar:
    alias pow='sync;sync;sync;sleep 2s;sudo poweroff'

    I have similar commands for reboot on each system too, the alias is rb.

    --
    Brian Masinick
    Alternate "Search B":
    This search page