mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 14:36:17 -04:00
Various fixes
This commit is contained in:
parent
09fe9b212a
commit
44a192b7a4
5 changed files with 9 additions and 10 deletions
|
@ -53,9 +53,8 @@ echo "Deblobbing..."
|
|||
blobs=$blobs"|.*aptX.*";
|
||||
|
||||
#AT Command Handling/Forwarding (See: https://atcommands.org)
|
||||
blobs=$blobs"|bin[/]atd|ATFWD-daemon|atfwd.apk|port-bridge|drexe|log_serial_arm|at_distributor|connfwexe";
|
||||
#blobs=$blobs"libqmi.so|wankit|nvm_server|mmgr";
|
||||
sepolicy=$sepolicy" atfwd.te port-bridge.te";
|
||||
blobs=$blobs"|bin[/]atd|ATFWD-daemon|atfwd.apk|drexe|log_serial_arm|at_distributor|connfwexe";
|
||||
sepolicy=$sepolicy" atfwd.te";
|
||||
|
||||
#AudioFX (Audio Effects) [Qualcomm]
|
||||
if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then
|
||||
|
|
|
@ -301,8 +301,8 @@ hardenDefconfig() {
|
|||
sed -i 's/# '"$option"' is not set/'"$option"'=y/' $defconfigPath &>/dev/null || true;
|
||||
#Some defconfigs are very minimal/not-autogenerated, so lets add the rest. Obviously most won't have any affect as they aren't supported.
|
||||
if [[ "$defconfigPath" == *"lineage"* ]]; then
|
||||
if ! grep -q "$option""=y" $defconfigPath; then
|
||||
echo "$option""=y" | tee -a $defconfigPath > /dev/null;
|
||||
if ! grep -q "$option=y" $defconfigPath; then
|
||||
echo "$option=y" | tee -a $defconfigPath > /dev/null;
|
||||
fi;
|
||||
fi;
|
||||
done
|
||||
|
@ -314,8 +314,8 @@ hardenDefconfig() {
|
|||
sed -i 's/'"$option"'=y/# '"$option"' is not set/' $defconfigPath &>/dev/null || true;
|
||||
#Some defconfigs are very minimal/not-autogenerated, so lets add the rest. Obviously most won't have any affect as they aren't supported.
|
||||
if [[ "$defconfigPath" == *"lineage"* ]]; then
|
||||
if ! grep -q "$option""=n" $defconfigPath; then
|
||||
echo "$option""=n" | tee -a $defconfigPath > /dev/null;
|
||||
if ! grep -q "$option=n" $defconfigPath; then
|
||||
echo "$option=n" | tee -a $defconfigPath > /dev/null;
|
||||
fi;
|
||||
fi;
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue