FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14169 questions

16819 answers

27660 comments

54135 members

0 votes
157 views 0 comments
by
is there a way to edit phone numebers via a script or txt file upload as i have to do it frequently

1 Answer

0 votes
by

Hi,

You should be able to edit a lot of configurations in CLI by using UCI commands.

Use uci show or uci show | grep 00370.... with the phone number to find the uci setting that you want to change and use:

uci set command to edit the line.

After that just do uci commit and luci-reload to save the changes you've done.

You can implement these commands in the script too.

https://openwrt.org/docs/guide-user/base-system/uci#command-line_utility

EB.