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:
@ -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;
|
||||
|
Reference in New Issue
Block a user