shutdown command was setting environment variable INIT_HALT to
"POWERDOWN", this should have been "POWERDOWN" as specified in the manual page. Fixed code to match manual page and init scripts.
This commit is contained in:
parent
a17f736a42
commit
be8e6b9e1c
@ -24,6 +24,10 @@ sysvinit (2.92) unreleased; urgency=low
|
|||||||
* Applied patch from Regid Ichira to clarify shutdown command
|
* Applied patch from Regid Ichira to clarify shutdown command
|
||||||
line options. Updated manual page for shutdown.
|
line options. Updated manual page for shutdown.
|
||||||
Closes Debian bug #630661.
|
Closes Debian bug #630661.
|
||||||
|
* shutdown command was setting environment variable INIT_HALT to
|
||||||
|
"POWERDOWN", this should have been "POWERDOWN" as specified in the
|
||||||
|
manual page. Fixed code to match manual page and init scripts.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sysvinit (2.91) world; urgency=low
|
sysvinit (2.91) world; urgency=low
|
||||||
|
@ -529,7 +529,7 @@ int main(int argc, char **argv)
|
|||||||
halttype = "HALT";
|
halttype = "HALT";
|
||||||
break;
|
break;
|
||||||
case 'P':
|
case 'P':
|
||||||
halttype = "POWERDOWN";
|
halttype = "POWEROFF";
|
||||||
break;
|
break;
|
||||||
case 'a': /* Access control. */
|
case 'a': /* Access control. */
|
||||||
useacl = 1;
|
useacl = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user