mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-10 19:27:32 +01:00
<empty commit message>
This commit is contained in:
parent
fee0f31b77
commit
8a98df3d75
1 changed files with 5 additions and 4 deletions
|
|
@ -484,10 +484,11 @@ local val="$2"
|
|||
case $action in
|
||||
set_value)
|
||||
delay_command "wifi" "wifi" "45"
|
||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} -q set wireless.@wifi-iface[$num].key1="$val"
|
||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} -q set wireless.@wifi-iface[$num].key2="$val"
|
||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} -q set wireless.@wifi-iface[$num].key3="$val"
|
||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} -q set wireless.@wifi-iface[$num].key4="$val"
|
||||
i=1
|
||||
for key in `/usr/sbin/wepkeygen 64 $val`;done
|
||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} -q set wireless.@wifi-iface[$num].key$i="$key"
|
||||
let i++
|
||||
done
|
||||
let num=$num+1
|
||||
local parm="InternetGatewayDevice.LANDevice.1.WLANConfiguration.$num.KeyPassphrase"
|
||||
freecwmp_notify "$parm" "$2" "xsd:unsignedInt"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue