From 1fa0d23a0480d3bb759d8de7aff8549bbeed10ce Mon Sep 17 00:00:00 2001 From: ohrensessel Date: Sat, 7 Jun 2014 17:00:33 +0200 Subject: [PATCH] Add some explanation regarding variables in config mode texts --- site.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site.conf b/site.conf index 0337005..17fc4b3 100644 --- a/site.conf +++ b/site.conf @@ -208,6 +208,15 @@ msg_pubkey: Instructions for the user how your community handles the key exchange only shown if VPN setting is selected msg_reboot: Message shown when configuration is finished while the node is rebooting. + + Variables + Within the text given here you can use variables which are + replaced when the respective website is delivered to the user. + Variables must be used in the format <%=NAME%>. See msg_pubkey for an example. + hostname hostname of the node + pubkey fastd public key of the node + sysconfig.primary_mac the primary mac of the node, also found printed beneath the device + ... other sysconfig.* variables: config_ifname, lan_ifname, wan_ifname ]] config_mode = { msg_welcome = [[