ath9k-hmac/backports-3.12.8-1/scripts/compress_modules.sh
2016-09-26 15:44:25 +02:00

13 lines
217 B
Bash
Executable File

#!/bin/bash
set -e
source ./scripts/mod_helpers.sh
if test "$(mod_filename mac80211)" = "mac80211.ko.gz" ; then
for driver in $(find "$1" -type f -name *.ko); do
echo COMPRESS $driver
gzip -9 $driver
done
fi