| 1 |
# Configure the radio with a text script |
| 2 |
|
| 3 |
A configuration script can be applied to the radio with -c option. |
| 4 |
|
| 5 |
The script can contain a complete configuration or any part of it. |
| 6 |
Only parts present in the script are replaced with new data, |
| 7 |
other parts are preserved. For example, I use the following script |
| 8 |
to set DMR ID and name on my radios, without changing channels |
| 9 |
and other stuff: |
| 10 |
|
| 11 |
``` |
| 12 |
$ cat kk6abq.conf |
| 13 |
ID: 3114542 |
| 14 |
Name: KK6ABQ |
| 15 |
Intro Line 1: KK6ABQ |
| 16 |
Intro Line 2: Sergey |
| 17 |
``` |
| 18 |
|
| 19 |
Previous state is saved to file backup.img. |
| 20 |
It can be restored back using -w option, in case you are not happy with |
| 21 |
the result of your script. |
| 22 |
|
| 23 |
``` |
| 24 |
$ dmrconfig -c kk6abq.conf |
| 25 |
Connect to TYT MD-UV380. |
| 26 |
Read device: ########################## done. |
| 27 |
Last Programmed Date: 2018-08-31 23:23:13 |
| 28 |
CPS Software Version: V=0.01 |
| 29 |
Write codeplug to file 'backup.img'. |
| 30 |
Read configuration from file 'kk6abq.conf'. |
| 31 |
Total 239 channels, 39 zones, 39 scanlists, 35 contacts, 2 grouplists. |
| 32 |
Write device: ########################################### done. |
| 33 |
Close device. |
| 34 |
``` |