postinst is in wireless-regdb 2015.07.20-1ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #!/bin/sh
if [ "$1" = "configure" ]; then
{ egrep -s -l '^[[:space:]]*REGDOMAIN=EU\b' /etc/default/crda ;
egrep -s -l '^[[:space:]]*options[[:space:]]+cfg80211\b.*\bieee80211_regdom=EU\b' /etc/modprobe.conf /etc/modprobe.d/*.conf; } | \
while read conf; do
echo >&2 "W: $conf selects the 'EU' wireless regulatory domain, which no longer exists."
echo >&2 "W: It should be changed to select a specific country (ISO 3166 alpha-2 code)."
done
fi
|