Boot animation customization!

This commit is contained in:
Tad 2018-06-24 04:26:59 -04:00
parent 3a3fe5aca9
commit c44d11fb99
5 changed files with 23 additions and 5 deletions

View file

@ -87,6 +87,13 @@ scanForMalware() {
}
export -f scanForMalware;
generateBootAnimationMask() {
text=$1;
output=$2;
convert -background black -fill transparent -font Fira-Sans-Bold -gravity center -size 512x128 label:"$text" "$output";
}
export -f generateBootAnimationMask;
audit2allowCurrent() {
adb shell dmesg | grep denied | audit2allow -p "$ANDROID_PRODUCT_OUT"/root/sepolicy;
}
@ -221,6 +228,11 @@ changeDefaultDNS() {
dnsPrimaryV6="2620:fe::fe";
dnsSecondary="149.112.112.112";
dnsSecondaryV6="2620:fe::10"; #not real secondary, primary "unsecured"
elif [[ "$DEFAULT_DNS_PRESET" == "Verisign" ]]; then
dnsPrimary="64.6.64.6";
dnsPrimaryV6="2620:74:1b::1:1";
dnsSecondary="64.6.65.6";
dnsSecondaryV6="2620:74:1c::2:2";
fi;
else
echo "You must first set a preset via the DEFAULT_DNS_PRESET variable in init.sh!";