Skip to content
Snippets Groups Projects
Commit 42540fed authored by Bob Mottram's avatar Bob Mottram
Browse files

Read dynamic dns provider

parent c4eba7da
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,7 @@ function web_admin_create_users {
}
function web_admin_create_add_apps {
read_config_param DDNS_PROVIDER
local_hostname=$(grep 'host-name' /etc/avahi/avahi-daemon.conf | awk -F '=' '{print $2}').local
apps_add_template_filename="/var/www/${local_hostname}/htdocs/admin/apps_add_template.html"
appslist_add_filename="/var/www/${local_hostname}/htdocs/admin/apps_add.html"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment