Bug 1713 - poweroff as an option of shutdown
Summary: poweroff as an option of shutdown
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: SysVinit (show other bugs)
Version: unstable
Hardware: all Linux
: P5 enhancement
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-14 12:11 MSK by imz
Modified: 2003-09-05 22:00 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imz 2002-12-14 12:11:15 MSK
Currently, there are options that make shutdwon reboot or halt the system at the end: shutdown -r and shutdown -h.

But there is no way to turn the power off at the end like poweroff would do. One mor option would be nice.

This feature would be useful to do something like

shutdown -h +10 (and turn the power off at the end).

---

---
SysVinit-2.84-alt5
Comment 1 Dmitry V. Levin 2002-12-15 00:28:53 MSK
What about adding \"-p\" option?
Comment 2 Dmitry V. Levin 2002-12-15 00:28:53 MSK
What about adding \"-p\" option?
Comment 3 imz 2002-12-15 23:40:53 MSK
Does it work already? It is not described in the man-page.
Comment 4 imz 2002-12-15 23:40:53 MSK
Does it work already? It is not described in the man-page.
Comment 5 imz 2002-12-15 23:43:11 MSK
I agree if a new option that does it was named \'-p\'.
Comment 6 imz 2002-12-15 23:43:11 MSK
I agree if a new option that does it was named \'-p\'.
Comment 7 Dmitry V. Levin 2003-09-05 22:00:09 MSD
Starting with SysVinit-2.85, "shutdown -h" tries to do poweroff. 
I'm agree with upstream.