Bug 16376 - poweroff in initscripts.
poweroff in initscripts.
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-16 12:49 EDT by Sam Varshavchik
Modified: 2014-03-16 22:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-16 12:49:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Varshavchik 2000-08-16 12:49:26 EDT
There's some leftover cruft at the tail end of the halt script:

HALTARGS="-i -d"
if [ -f /poweroff -o ! -f /halt ]; then
    HALTARGS="$HALTARGS -p"
fi

The halt command does not have the -p option.  This is superceeded by the
poweroff command.

Additionally, there's nothing that creates /poweroff.  This should be an
option to shutdown.
Comment 1 Bill Nottingham 2000-08-16 16:00:40 EDT
The halt command certainly claims to have a -p option.

As for something that creates /poweroff, look at
the SysVinit source. :)

Note You need to log in before you can comment on or make changes to this bug.