Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: shutdown via command line

  1. #11
    Join Date
    Jan 2009
    Location
    Chisinau, Moldova
    Posts
    28

    Default Re: shutdown via command line

    i have a problem with shutting down the computer via command line, too (openSUSE 11.1 gnome):
    'sudo shutdown -P +m' - does not work.
    'su shutdown -P +m' - does not work either.
    - the command does not shut the system down, i see something like recovery mode prompting to enter root's password. then i reboot with ctrl+alt+delete.
    i've found somewhere that one has to add 'acpi-force' in boot configuration or 'acpi-power-off' - i've tried both, but 'su shutdown -P +m' did not work anyway.
    how can i shut the system down after a period of time from command line?

  2. #12

    Default Re: shutdown via command line

    -t sec Tell init(8) to wait sec seconds between sending processes the warning and the kill signal, before changing to another run-level.

    su -c shutdown -P -t 120

  3. #13
    Join Date
    Jan 2009
    Location
    Chisinau, Moldova
    Posts
    28

    Default Re: shutdown via command line

    thank you.
    this worked for me - 'su shutdown -h +m'. things proved to be simplier then i thought.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •