diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-11-04 18:39:18 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-11-04 18:39:18 (GMT) |
commit | 677160c21605f6e16bf18b249b63fe0c56e87f6a (patch) | |
tree | 7cbdabec3b615bca9619cadff31e63e7ecaf60bc /abs/extra/wireless-regdb/wireless-regdb.install | |
parent | 849d0e10eee0b380be946af140e3ea93b3c3a461 (diff) | |
download | linhes_pkgbuild-677160c21605f6e16bf18b249b63fe0c56e87f6a.zip linhes_pkgbuild-677160c21605f6e16bf18b249b63fe0c56e87f6a.tar.gz linhes_pkgbuild-677160c21605f6e16bf18b249b63fe0c56e87f6a.tar.bz2 |
wireless-regdb: initial inclusion. dep of crda
Diffstat (limited to 'abs/extra/wireless-regdb/wireless-regdb.install')
-rw-r--r-- | abs/extra/wireless-regdb/wireless-regdb.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/wireless-regdb/wireless-regdb.install b/abs/extra/wireless-regdb/wireless-regdb.install new file mode 100644 index 0000000..ae712db --- /dev/null +++ b/abs/extra/wireless-regdb/wireless-regdb.install @@ -0,0 +1,13 @@ +post_install() { + post_upgrade +} + +post_upgrade() { + # If crda is installed, we verify the integrity of the database + # If not, we skip this step silently + if [ -x /sbin/regdbdump ]; then + if ! /sbin/regdbdump /usr/lib/crda/regulatory.bin > /dev/null; then + echo "Failed to verify the integrity of the wireless regulatory database, CRDA will not work." + fi + fi +} |