pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
73 stars 59 forks source link

auto get manufacturer,oui,product_class,serial_number,hardware_version,software_version #7

Closed sinkcup closed 9 years ago

sinkcup commented 9 years ago

/etc/config/easycwmp default config is:

 config device                                      
    option manufacturer easycwmp               
    option oui FFFFFF                          
    option product_class easycwmp              
    option serial_number FFFFFF123456          
    option hardware_version example_hw_version 
    option software_version example_sw_version

by change /usr/share/easycwmp/functions/device_info, let it auto get from openwrt os, don't need edit config manually.

sinkcup commented 9 years ago

ok 2015-01-13 20 12 40

pivasoftware commented 9 years ago

Please feel ffree to change the device_info script in order to get the device info value from the right place in OpenWRT os