Récupération de la conf en https par défaut

tags/0.3
Daniel Berteaud 12 years ago
parent 7774cc97f0
commit a3054b52c2
  1. 2
      packages/firefox-config.xml
  2. 7
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/firefox/firefox.cfg/10All

@ -8,7 +8,7 @@
<depends package-id="firefox" />
<variable name='PKG_VERSION' value='4' />
<variable name='PKG_VERSION' value='5' />
<variable architecture='x86' name='PROG' value='%PROGRAMFILES%\Mozilla Firefox' />
<variable architecture='x64' name='PROG' value='%PROGRAMFILES(x86)%\Mozilla Firefox' />
<variable architecture='x86' name='REG_PATH' value='HKLM\Software\Mozilla\Firefox' />

@ -1,5 +1,10 @@
// Autoconf
{
$proto = ((${'mozilla-mcd'}{'RequireSSL'} || 'yes') =~ m/^enabled|yes|on|1$/) ? 'https':'http';
$OUT .= '';
}
if(getenv("USER") != "") \{
var user = getenv("USER");
\} else \{
@ -10,6 +15,6 @@ var mail = env_user + '@{$DomainName}';
lockPref("mail.identity.useremail", mail);
lockPref("autoadmin.append_emailaddr", true);
lockPref("autoadmin.global_config_url", "http://{"$SystemName.$DomainName"}/firefox.cfg");
lockPref("autoadmin.global_config_url", "{"$proto"}://{"$SystemName.$DomainName"}/firefox.cfg");
lockPref("autoadmin.failover_to_cached", true);
lockPref("autoadmin.offline_failover", true);

Loading…
Cancel
Save