[wireless-regdb] 02/02: Revert "Remove obsolete postinst script"
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sat Jan 7 16:01:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch jessie
in repository wireless-regdb.
commit 06da3dc3c34442a295fba216d79374abb3d9cd1a
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sat Jan 7 15:55:10 2017 +0000
Revert "Remove obsolete postinst script"
This reverts commit 5c57af2f71964f08928ea70b223aaee95f85d773.
The script is needed for upgrades from wheezy to jessie.
---
debian/changelog | 2 ++
debian/postinst | 12 ++++++++++++
2 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c659811..c54a5b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
wireless-regdb (2016.06.10-1~deb8u1) UNRELEASED; urgency=medium
* Upload to jessie
+ * Revert "Remove obsolete postinst script"; the script is needed for
+ upgrades from wheezy to jessie
-- Ben Hutchings <ben at decadent.org.uk> Sat, 07 Jan 2017 15:48:38 +0000
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..eccf3c2
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,12 @@
+#!/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
+
+#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/wireless-regdb.git
More information about the Kernel-svn-changes
mailing list