diff --git a/root/target/linux/ipq40xx/base-files/etc/uci-defaults/01_mnf-info b/root/target/linux/ipq40xx/base-files/etc/uci-defaults/01_mnf-info index 8d1d13a7..0e5bf027 100644 --- a/root/target/linux/ipq40xx/base-files/etc/uci-defaults/01_mnf-info +++ b/root/target/linux/ipq40xx/base-files/etc/uci-defaults/01_mnf-info @@ -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