|
@@ -31,28 +31,6 @@ netNTP=pool.ntp.org
|
|
|
|
|
|
[ -f ./config.sh ] && source config.sh
|
|
|
|
|
|
-# 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
|
|
|
- ;;
|
|
|
-esac
|
|
|
-
|
|
|
|
|
|
install(){
|
|
|
#----------
|
|
@@ -238,4 +216,15 @@ localectl set-locale LC_MESSAGES=en_US.UTF-8 # System messages.
|
|
|
#localectl set-locale LC_RESPONSE=en_US.UTF-8 # How responses (such as Yes and No) appear
|
|
|
update-locale
|
|
|
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 ;;
|
|
|
+esac
|