diff options
Diffstat (limited to 'net-wireless/dedected/files')
-rw-r--r-- | net-wireless/dedected/files/99-dect.rules | 2 | ||||
-rw-r--r-- | net-wireless/dedected/files/load-dect.sh | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/net-wireless/dedected/files/99-dect.rules b/net-wireless/dedected/files/99-dect.rules new file mode 100644 index 00000000..8c6dd2e7 --- /dev/null +++ b/net-wireless/dedected/files/99-dect.rules @@ -0,0 +1,2 @@ +ACTION=="add", SUBSYSTEM=="pcmcia", ATTRS{prod_id1}=="DECTDataDevice", RUN+="/lib/udev/load-dect.sh" +ACTION=="add", SUBSYSTEM=="pcmcia", ATTRS{prod_id1}=="DOSCH-AMAND", RUN+="/lib/udev/load-dect.sh" diff --git a/net-wireless/dedected/files/load-dect.sh b/net-wireless/dedected/files/load-dect.sh new file mode 100644 index 00000000..d62f0bce --- /dev/null +++ b/net-wireless/dedected/files/load-dect.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +/lib/udev/load-modules.sh com_on_air_cs + +if [ ! -c /dev/coa ]; then + mknod /dev/coa --mode 660 c 3564 0 + chgrp dect /dev/coa +fi |