First step for adding templated settings/file where placeholders can be filled out.
Add 'settings' structure to config.ini Add 'settings' multidimensional config parser to lib/utils.php Signed-off-by: Diederik de Groot <ddegroot@talon.nl>
This commit is contained in:
38
config.ini
38
config.ini
@@ -5,6 +5,15 @@ default_language = English_United_States
|
||||
log_type = SYSLOG ; SYSLOG|STDERR|STDOUT|NULL|FILE
|
||||
log_level = LOG_INFO ; LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG
|
||||
;log_filename = provision.log ; only in case of log_type = FILE
|
||||
auto_generate_settings = FALSE
|
||||
auto_sign = FALSE
|
||||
auto_encrypt = FALSE
|
||||
|
||||
[security]
|
||||
cert_ca =
|
||||
cert_priv =
|
||||
cert_pub =
|
||||
hash =
|
||||
|
||||
[subdirs]
|
||||
tftproot = tftpboot
|
||||
@@ -15,3 +24,32 @@ ringtones = ringtones
|
||||
locales = locales
|
||||
countries = countries
|
||||
languages = languages
|
||||
|
||||
[settings]
|
||||
sshUserId = cisco
|
||||
sshPassword = cisco
|
||||
ipAddress = ipv4|ipv6 ; ipv4 | ipv4 | ipv4|ipv6 | ipv6|ipv4
|
||||
datetime.template=M/D/YA
|
||||
datetime.timezone=W. Europe Standard/Daylight Time
|
||||
datetime.ipaddress=10.x.x.x
|
||||
datetime.mode=Unicast
|
||||
members.myhost.hostname = myhost.domain.com
|
||||
members.myhost.ipv4 = 10.x.x.x
|
||||
members.myhost.ipv6 = 2001:470::x:x
|
||||
members.myhost.port = 2000
|
||||
;srts.
|
||||
;common.
|
||||
;vendor.
|
||||
locale.country=United_States
|
||||
locale.language=English_United_States
|
||||
locale.langcode=en_US
|
||||
locale.charset=utf-8
|
||||
urls.secury = FALSE
|
||||
urls.information=
|
||||
urls.authentication=
|
||||
urls.services=
|
||||
urls.direcory=
|
||||
urls.messages=
|
||||
urls.proxyserver=
|
||||
;vpn.
|
||||
;phoneservices.
|
||||
|
Reference in New Issue
Block a user