shutdown: use poweroff -f instead of halt -f

This is makes fast shutdown work on Hyper-V

While at it, also clean up whitespaces. The file was mixed
tabs and spaces. Now it uses spaces.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2016-02-20 19:48:00 +00:00
parent 8d5dd9308e
commit e953d12e4e

View File

@ -174,7 +174,7 @@ stop()
eoutdent
# now terminate with extreme prejudice
halt -f
poweroff -f
return 0
}