ath9k-hmac/backports-3.12.8-1/scripts/compress_modules.sh

13 lines
217 B
Bash
Raw Normal View History

2016-09-26 13:44:25 +00:00
#!/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