Browse Source

fixed case syntax

Toastie 1 year ago
parent
commit
a6951a4c00
1 changed files with 18 additions and 6 deletions
  1. 18 6
      bootrap-bullseye.sh

+ 18 - 6
bootrap-bullseye.sh

@@ -33,12 +33,24 @@ netNTP=pool.ntp.org
 
 # Check if the function exists
 case $1 in
-  grmlnetwork) grmlnetwork() ;;
-  install)     install()     ;;
-  install2)    install2()     ;;
-  bootloader)  bootloader()  ;;
-  postinstall) postinstall() ;;
-  *) echo "Valid functions are: grmlnetwork, install, postinstall" >&2  ;;
+  grmlnetwork) 
+    grmlnetwork()
+    ;;
+  install)
+    install()
+    ;;
+  install2)
+    install2()
+    ;;
+  bootloader)
+    bootloader()
+    ;;
+  postinstall)
+    postinstall()
+    ;;
+  *)
+    echo "Valid functions are: grmlnetwork, install, postinstall" >&2
+    ;;
 esac