summaryrefslogtreecommitdiff
path: root/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mamona/cx3110x-chinooke-2.0.15/cx3110x')
-rwxr-xr-xpackages/mamona/cx3110x-chinooke-2.0.15/cx3110x4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
index 93e59afa55..592c7032ca 100755
--- a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
+++ b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
@@ -8,6 +8,10 @@ swap_module () {
rmmod cx3110x
# Inserting the new one
insmod $MODULE
+ # Setting device options (MAC, default country, etc)
+ if [ -x /mnt/initfs/usr/bin/wlan-cal ]; then
+ chroot /mnt/initfs /usr/bin/wlan-cal
+ fi
# Getting up the interface to make the firmware being loaded (stupid, i know)
ifconfig wlan0 up
else