From 98163df48c2947c2e65c9b62294582aabcd60070 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Mar 2007 09:58:19 +0000 Subject: [PATCH] Updated start-gosa.sh for firefox git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5902 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/scripts/start-gosa.sh | 192 +++++++++++++++------------------- 1 file changed, 87 insertions(+), 105 deletions(-) diff --git a/contrib/scripts/start-gosa.sh b/contrib/scripts/start-gosa.sh index 622a6cbda..d6cd93a9c 100755 --- a/contrib/scripts/start-gosa.sh +++ b/contrib/scripts/start-gosa.sh @@ -1,10 +1,16 @@ #!/bin/sh # Start script for GOsa to be started via mozilla +url="" +if [ $# -ne 1 ]; then + echo "Usage: $(basename $0) " + exit 1 +fi + # Check for presence of gosa profile -if [ ! -d $HOME/.mozilla/gosa ]; then - mozilla -CreateProfile gosa - config=`echo $HOME/.mozilla/gosa/*/` +if [ ! -d $HOME/.mozilla/firefox/*.gosa ]; then + firefox -CreateProfile gosa + config=`echo $HOME/.mozilla/firefox/*.gosa/` cat << EOF > $config/prefs.js # Mozilla User Preferences @@ -18,18 +24,27 @@ if [ ! -d $HOME/.mozilla/gosa ]; then * For more information, see http://www.mozilla.org/unix/customizing.html#prefs */ -user_pref("browser.search.defaultengine", "engine:///usr/lib/mozilla/searchplugins/google.src"); -user_pref("browser.startup.homepage", "http://vserver-02/gosa/index.php"); -user_pref("browser.startup.homepage_override.mstone", "rv:1.6"); -user_pref("browser.toolbars.showbutton.bookmarks", false); -user_pref("browser.toolbars.showbutton.home", false); -user_pref("browser.toolbars.showbutton.print", false); -user_pref("browser.toolbars.showbutton.search", false); -user_pref("intl.accept_languages", "de"); +user_pref("app.update.autoUpdateEnabled", false); +user_pref("app.update.enabled", false); +user_pref("browser.download.folderList", 2); +user_pref("browser.download.manager.showWhenStarting", false); +user_pref("browser.formfill.enable", false); +user_pref("browser.preferences.lastpanel", 1); +user_pref("browser.search.selectedEngine", "Damnfresh"); +user_pref("browser.startup.homepage", "$url"); +user_pref("browser.startup.homepage_override.mstone", "rv:1.8.1.1"); +user_pref("extensions.disabledObsolete", true); +user_pref("extensions.lastAppVersion", "2.0.0.1"); +user_pref("extensions.update.autoUpdateEnabled", false); user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1"); -user_pref("plugin.soname.list", "libXt.so:libXext.so"); -user_pref("signon.SignonFileName", "84795799.s"); -user_pref("wallet.SchemaValueFileName", "84795819.w"); +user_pref("network.cookie.prefsMigrated", true); +user_pref("security.OCSP.URL", ""); +user_pref("security.OCSP.signingCA", "Builtin Object Token:IPS CLASE1 root"); +user_pref("security.warn_entering_secure", false); +user_pref("security.warn_leaving_secure", false); +user_pref("security.warn_submit_insecure", false); +user_pref("security.warn_viewing_mixed", false); +user_pref("signon.rememberSignons", false); user_pref("security.warn_submit_insecure", false); EOF @@ -39,108 +54,75 @@ http://vserver-02 . EOF - cat << EOF > $config/localstore.rdf + [ ! -d $config/chrome ] && mkdir -p $config/chrome + cat << EOF > $config/chrome/userChrome.css +#main-menubar { + display: none; +} +#navigator-throbber { + display: none; +} +EOF + +cat << EOF > $config/localstore.rdf - + + + EOF fi # Start mozilla with GOsa profile -mozilla -P gosa +firefox -P gosa -- 2.30.2