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 committed 2018-10-28 16:19:26 -03:00
1 parent a17f736a42
commit be8e6b9e1c
2 files changed
+5 -1

No files matched your search

+1 -1
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;