mirror of
https://github.com/TommyTran732/Kernel-Module-Blacklist.git
synced 2025-08-02 23:42:40 +02:00
@@ -14,6 +14,8 @@
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
set -eu
|
||||
|
||||
output(){
|
||||
echo -e '\e[36m'"$1"'\e[0m';
|
||||
}
|
||||
|
@@ -14,6 +14,8 @@
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
set -eu
|
||||
|
||||
# List available modules
|
||||
# shellcheck disable=SC2010
|
||||
ls -R /lib/modules/"$(uname -r)"/kernel/{drivers,fs,net,sound} | grep "\.ko" | sed 's/.ko.xz//g' | sed 's/.ko.zst//g' > blacklist.txt
|
||||
|
Reference in New Issue
Block a user