build.sh: Introduce KernelSU Susfs setup
This commit is contained in:
parent
6d7b7439fd
commit
d5e8a0bb0e
1 changed files with 9 additions and 0 deletions
9
build.sh
9
build.sh
|
@ -11,6 +11,11 @@ command_two() {
|
||||||
}
|
}
|
||||||
|
|
||||||
command_three() {
|
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:"
|
echo "Exiting, really that quickly? :sob:"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,6 +25,7 @@ while true; do
|
||||||
echo "Choose what to do:"
|
echo "Choose what to do:"
|
||||||
echo "1: Build FireAsf kernel without KernelSU"
|
echo "1: Build FireAsf kernel without KernelSU"
|
||||||
echo "2: Build FireAsf kernel with 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!"
|
echo "Type 'exit' to guess what? Exit, yeah exit!"
|
||||||
read -p "Make a good choice: " choice
|
read -p "Make a good choice: " choice
|
||||||
|
|
||||||
|
@ -30,6 +36,9 @@ while true; do
|
||||||
2)
|
2)
|
||||||
command_two
|
command_two
|
||||||
;;
|
;;
|
||||||
|
3)
|
||||||
|
command_three
|
||||||
|
;;
|
||||||
exit)
|
exit)
|
||||||
echo "Exiting the program. Goodbye!"
|
echo "Exiting the program. Goodbye!"
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Reference in a new issue