Project

General

Profile

« Previous | Next » 

Revision 0add0aab

Added by Marc Dequènes over 14 years ago

  • ID 0add0aabb74dc7c4fe2b42733430d69b6412b2b5

[evol] improve config #6 (rename config files)

View differences:

bin/shadowwalker
set_locale(locale)
config_str = IO.read(File.join(LdapShadows::Config::CFG_DIR, "test.conf"))
config_str = IO.read(File.join(LdapShadows::Config::CFG_DIR, "shadow.conf"))
config = YAML.load(config_str)
config_str_prv_filelist = [
File.join(ENV['HOME'], ".shadowwalker"),
File.join(LdapShadows::Config::CFG_DIR, "private.conf")
File.join(LdapShadows::Config::CFG_DIR, "shadow_private.conf")
]
config_str_prv_filelist.each do |file|
if File.exists?(file)

Also available in: Unified diff