CLI command to find "Apply Settings" status

Does anyone know if there’s a command on the CLI to see if the system needs to have settings applied?

Not that I can see. The setting is in the admin table, if the variable needs_reload has the value of true then a reload is needed.

1 Like

this?
mysql -e “SELECT value FROM asterisk.admin WHERE variable = ‘need_reload’”

or php function: $needs_reload=check_reload_needed(); will return true or false.

3 Likes

yep, that would be it! Thanks!

1 Like