DivestOS/Scripts/LineageOS-14.1/Patch_CVE.sh
2017-10-31 13:24:35 -04:00

18 lines
408 B
Bash

#!/bin/bash
#Copyright (c) 2017 Spot Communications, Inc.
#Attempts to patch kernels to be more secure
#Is this the best way to do it? No. Is it the proper way to do it? No. Do I wish device maintainers would do it? Yes. Is it better then nothing? YES!
echo "Patching CVEs..."
cd $base
for patcher in $cveScripts/*.sh; do
echo "Running " $patcher;
source $patcher;
done;
cd $base
echo "Patched CVEs!"