Make config defaults seteable by environment variables if setup is running headless
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 12 May 2011 19:50:47 +0000 (19:50 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 12 May 2011 19:50:47 +0000 (19:50 +0000)
commit5c6ff6c468cb4203a30f58e64603abe0551198c6
tree22965786a5c2bf12bc8b8b04bf1ddf428ad998e1
parent0cd3faff5d6de6683b1c0f7814c65c0294c515ea
Make config defaults seteable by environment variables if setup is running headless

these are the environment variables and their defaults:
uname(&my_utsname);
/* set some sample/default values in place of blanks... */
CITADEL_c_nodename=my_utsname.nodename
CITADEL_c_humannode=_("My System")
CITADEL_c_phonenum=_("US 800 555 1212")
CITADEL_c_initax=4
CITADEL_c_moreprompt="<more>"
CITADEL_c_twitroom="Trashcan"
CITADEL_c_baseroom=BASEROOM
CITADEL_c_aideroom="Aide"
CITADEL_c_port_number=504
CITADEL_c_sleeping=900
CITADEL_c_smtp_port=25
CITADEL_c_pop3_port=110
CITADEL_c_imap_port=143
CITADEL_c_msa_port=587
CITADEL_c_smtps_port=465
CITADEL_c_pop3s_port=995
CITADEL_c_imaps_port=993
CITADEL_c_pftcpdict_port=-1
CITADEL_c_managesieve_port=2020
CITADEL_c_xmpp_c2s_port=5222
CITADEL_c_xmpp_s2s_port=5269
citadel/utils/setup.c