openwrt/package/crda/files/hotplug.rule

7 lines
118 B
Bash

#!/bin/sh
# Copyright (C) 2009 OpenWrt.org
[ change = "$ACTION" -a regulatory.0 = "$DEVICENAME" ] && {
/sbin/crda
}