build.sh: Introduce KernelSU Susfs setup

This commit is contained in:
Ksawlii 2024-12-03 18:15:42 +01:00
parent 6d7b7439fd
commit d5e8a0bb0e

View file

@ -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