Bug 16376 - poweroff in initscripts.
Summary: poweroff in initscripts.
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-16 16:49 UTC by Sam Varshavchik
Modified: 2014-03-17 02:15 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Sam Varshavchik 2000-08-16 16:49:26 UTC
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 20:00:40 UTC
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.