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:
Jesse Smith 2018-10-28 16:19:26 -03:00
parent a17f736a42
commit be8e6b9e1c
2 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,10 @@ sysvinit (2.92) unreleased; urgency=low
* Applied patch from Regid Ichira to clarify shutdown command
line options. Updated manual page for shutdown.
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

View File

@ -529,7 +529,7 @@ int main(int argc, char **argv)
halttype = "HALT";
break;
case 'P':
halttype = "POWERDOWN";
halttype = "POWEROFF";
break;
case 'a': /* Access control. */
useacl = 1;