mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Minor tweaks
This commit is contained in:
parent
c44d11fb99
commit
30a8e0ba07
4 changed files with 7 additions and 5 deletions
|
@ -89,13 +89,14 @@ export -f scanForMalware;
|
|||
|
||||
generateBootAnimationMask() {
|
||||
text=$1;
|
||||
output=$2;
|
||||
convert -background black -fill transparent -font Fira-Sans-Bold -gravity center -size 512x128 label:"$text" "$output";
|
||||
font=$2
|
||||
output=$3;
|
||||
convert -background black -fill transparent -font "$font" -gravity center -size 512x128 label:"$text" "$output";
|
||||
}
|
||||
export -f generateBootAnimationMask;
|
||||
|
||||
audit2allowCurrent() {
|
||||
adb shell dmesg | grep denied | audit2allow -p "$ANDROID_PRODUCT_OUT"/root/sepolicy;
|
||||
adb shell dmesg | audit2allow -p "$ANDROID_PRODUCT_OUT"/root/sepolicy;
|
||||
}
|
||||
export -f audit2allowCurrent;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue