diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | udev/regulatory.rules | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -119,6 +119,7 @@ install: crda crda.8.gz regdbdump.8.gz @# putting it in the right place. $(Q)rm -f $(DESTDIR)/etc/udev/rules.d/regulatory.rules $(Q)ln -sf regulatory.rules udev/$(UDEV_LEVEL)regulatory.rules + $(Q)sed 's:$$(SBINDIR):$(SBINDIR):' -i udev/regulatory.rules $(Q)$(INSTALL) -m 644 -t \ $(DESTDIR)/$(UDEV_RULE_DIR)/ \ udev/$(UDEV_LEVEL)regulatory.rules diff --git a/udev/regulatory.rules b/udev/regulatory.rules index e81d802..ef9b5f1 100644 --- a/udev/regulatory.rules +++ b/udev/regulatory.rules @@ -2,4 +2,4 @@ # For more information see: # http://wireless.kernel.org/en/developers/Regulatory/CRDA -KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/sbin/crda" +KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="$(SBINDIR)" |