mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
replace teltonilka by omr
This commit is contained in:
parent
15d97c859a
commit
4b6391ac41
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ get_hw_info() {
|
|||
[ -n "$param" -a ${#param} == 12 ] && uci set "system"."@system[0]"."device_code"=$param
|
||||
|
||||
hostname=${param:0:6}
|
||||
[ -n "$hostname" -a ${#hostname} == 6 -a -z "$(uci -q get system.@system[0].hostname)" ] && uci set "system"."@system[0]"."hostname"=Teltonika-$hostname.com
|
||||
[ -n "$hostname" -a ${#hostname} == 6 -a -z "$(uci -q get system.@system[0].hostname)" ] && uci set "system"."@system[0]"."hostname"=OpenMPTCProuter
|
||||
|
||||
routername=${param:0:6}
|
||||
[ -n "$routername" -a ${#routername} == 6 -a -z "$(uci -q get system.@system[0].routername)" ] && uci set "system"."@system[0]"."routername"=$routername
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue