Quellcode durchsuchen

fixed case syntax

Toastie vor 2 Jahren
Ursprung
Commit
f8d7129dd6
1 geänderte Dateien mit 18 neuen und 6 gelöschten Zeilen
  1. 18 6
      bootrap-bullseye.sh

+ 18 - 6
bootrap-bullseye.sh

@@ -221,10 +221,22 @@ timedatectl set-timezone Europe/Berlin
 
 # Switch to functions...
 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