From d5e8a0bb0e8a279b87fbf10b4d9b351f70327be2 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Tue, 3 Dec 2024 18:15:42 +0100 Subject: [PATCH] build.sh: Introduce KernelSU Susfs setup --- build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.sh b/build.sh index e6f8c45d5..63820c0f5 100755 --- a/build.sh +++ b/build.sh @@ -11,6 +11,11 @@ command_two() { } command_three() { + rm -rf KernelSU + curl -LSs "https://raw.githubusercontent.com/nitanmarcel/KernelSU-susfs/kernel/setup.sh" | bash - +} + +command_four() { echo "Exiting, really that quickly? :sob:" } @@ -20,6 +25,7 @@ while true; do echo "Choose what to do:" echo "1: Build FireAsf kernel without KernelSU" echo "2: Build FireAsf kernel with KernelSU" + echo "3: Setup KernelSU Susfs (run before 2)" echo "Type 'exit' to guess what? Exit, yeah exit!" read -p "Make a good choice: " choice @@ -30,6 +36,9 @@ while true; do 2) command_two ;; + 3) + command_three + ;; exit) echo "Exiting the program. Goodbye!" break