Skip to content

Commit d8ae25b

Browse files
committed
scripts: Enable BBG
Signed-off-by: ApartTUSITU <[email protected]>
1 parent 5dd011f commit d8ae25b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

build-miui.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ else
100100
echo "KSU is disabled"
101101
fi
102102

103-
# echo "Integrating Baseband-guard..."
104-
# curl -LSs "https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh" | bash
105-
# sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/selinux/selinux,baseband_guard/ } }' security/Kconfig
103+
echo "Integrating Baseband-guard..."
104+
curl -LSs "https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh" | bash
105+
sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/selinux/selinux,baseband_guard/ } }' security/Kconfig
106106

107107

108108
echo "Cleaning..."

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ else
100100
echo "KSU is disabled"
101101
fi
102102

103-
# echo "Integrating Baseband-guard..."
104-
# curl -LSs "https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh" | bash
105-
# sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/selinux/selinux,baseband_guard/ } }' security/Kconfig
103+
echo "Integrating Baseband-guard..."
104+
curl -LSs "https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh" | bash
105+
sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/selinux/selinux,baseband_guard/ } }' security/Kconfig
106106

107107

108108
echo "Cleaning..."

0 commit comments

Comments
 (0)