mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
14 lines
378 B
Plaintext
14 lines
378 B
Plaintext
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
|
|
}
|