mirror of
				https://github.com/TommyTran732/Kernel-Module-Blacklist.git
				synced 2025-11-04 08:48:33 +01:00 
			
		
		
		
	Bluetooth for workstations + regenerate blacklist
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
		@@ -2763,7 +2763,6 @@ install nfs_layout_flexfiles /bin/false
 | 
			
		||||
install nfs_layout_nfsv41_files /bin/false
 | 
			
		||||
install nfsv2 /bin/false
 | 
			
		||||
install nfsv3 /bin/false
 | 
			
		||||
install nfsv4 /bin/false
 | 
			
		||||
install ngbe /bin/false
 | 
			
		||||
install ngene /bin/false
 | 
			
		||||
install nhc_dest /bin/false
 | 
			
		||||
 
 | 
			
		||||
@@ -2599,7 +2599,6 @@ install nfsd /bin/false
 | 
			
		||||
install nfs_layout_flexfiles /bin/false
 | 
			
		||||
install nfs_layout_nfsv41_files /bin/false
 | 
			
		||||
install nfsv3 /bin/false
 | 
			
		||||
install nfsv4 /bin/false
 | 
			
		||||
install ngbe /bin/false
 | 
			
		||||
install ngene /bin/false
 | 
			
		||||
install n_gsm /bin/false
 | 
			
		||||
 
 | 
			
		||||
@@ -4005,7 +4005,6 @@ install nfs_layout_flexfiles /bin/false
 | 
			
		||||
install nfs_layout_nfsv41_files /bin/false
 | 
			
		||||
install nfsv2 /bin/false
 | 
			
		||||
install nfsv3 /bin/false
 | 
			
		||||
install nfsv4 /bin/false
 | 
			
		||||
install nftl /bin/false
 | 
			
		||||
install ngbe /bin/false
 | 
			
		||||
install ngene /bin/false
 | 
			
		||||
 
 | 
			
		||||
@@ -81,6 +81,17 @@ if [ "${dataset}" != 'vps' ]; then
 | 
			
		||||
    done < kmod-whitelist-hw-vendors-all
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Apply whitelist for workstation
 | 
			
		||||
if [ "${dataset}" = 'workstation' ]; then
 | 
			
		||||
    while read -r KMOD; do
 | 
			
		||||
    sed -i "s/^${KMOD}.*//gm" blacklist.txt
 | 
			
		||||
    done < kmod-whitelist-workstation-start
 | 
			
		||||
 | 
			
		||||
    while read -r KMOD; do
 | 
			
		||||
    sed -i "s/.*${KMOD}.*//gm" blacklist.txt
 | 
			
		||||
    done < kmod-whitelist-workstation-all
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Delete empty lines
 | 
			
		||||
sed -i '/^$/d' blacklist.txt
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								kmod-whitelist-workstation-all
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								kmod-whitelist-workstation-all
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
bluetooth
 | 
			
		||||
							
								
								
									
										1
									
								
								kmod-whitelist-workstation-start
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								kmod-whitelist-workstation-start
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
btusb
 | 
			
		||||
		Reference in New Issue
	
	Block a user