beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting.  Re-run the formatter on the
whole repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8c4f46426087652161d7cbeab489bfe32d25f17e
diff --git a/scripts/host-reboot b/scripts/host-reboot
index e2ce490..e75c681 100755
--- a/scripts/host-reboot
+++ b/scripts/host-reboot
@@ -8,7 +8,7 @@
 
 set -euo pipefail
 
-get_reboot_count()
+function get_reboot_count()
 {
     busctl get-property xyz.openbmc_project.State.Host"$1" \
         /xyz/openbmc_project/state/host"$1" \
@@ -16,7 +16,7 @@
         | cut -d ' ' -f2
 }
 
-get_restart_cause()
+function get_restart_cause()
 {
     busctl get-property xyz.openbmc_project.State.Host"$1" \
         /xyz/openbmc_project/state/host"$1" \
@@ -25,13 +25,13 @@
 }
 
 # host instance id is input parameter to function
-host_quiesce()
+function host_quiesce()
 {
     systemctl start obmc-host-quiesce@"$1".target
 }
 
 # host instance id is input parameter to function
-host_reboot()
+function host_reboot()
 {
     systemctl start obmc-host-startmin@"$1".target
 }
@@ -54,12 +54,12 @@
 reboot_count=$(get_reboot_count "$host_instance")
 restart_cause=$(get_restart_cause "$host_instance")
 if [ "$reboot_count" -eq 0 ] && \
-   [ "$restart_cause" == "xyz.openbmc_project.State.Host.RestartCause.HostCrash" ];
+    [ "$restart_cause" == "xyz.openbmc_project.State.Host.RestartCause.HostCrash" ];
 then
     echo "reboot count is 0 and host crashed, go to host quiesce"
     host_quiesce "$host_instance"
 else
     echo "reboot count ($reboot_count) is greater then 0 or host did not" \
-         "crash so reboot host"
+        "crash so reboot host"
     host_reboot "$host_instance"
 fi