summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0188b38)
raw | patch | inline | side by side (parent: 0188b38)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Mar 2007 08:39:51 +0000 (08:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Mar 2007 08:39:51 +0000 (08:39 +0000) |
Updated start-gosa.sh
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5937 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5937 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/mysql/gofon/gofon.sql | patch | blob | history | |
contrib/scripts/start-gosa.sh | patch | blob | history |
index be8b8422064e623779312293bbacc64792f7a11c..584bcc99f4fa9e2a565ef3a6c50f792e34678012 100644 (file)
-create database asteriskcdrdb;
-use asteriskcdrdb;
+create database gophone;
+use gophone;
create table cdr (
calldate datetime NOT NULL default '0000-00-00 00:00:00',
userfield varchar(255) NOT NULL default ''
);
-GRANT INSERT,SELECT ON asteriskcdrdb.cdr TO asterisk@localhost IDENTIFIED BY 'somemysqlpass';
+GRANT INSERT,SELECT ON gophone.cdr TO asterisk@localhost IDENTIFIED BY 'somemysqlpass';
index 622a6cbda757d5ee18b582d60cfa1764eaf39afe..d6cd93a9c9cd4cfea1a7b347151c0df22c2c2e7a 100755 (executable)
#!/bin/sh
# Start script for GOsa to be started via mozilla
+url=""
+if [ $# -ne 1 ]; then
+ echo "Usage: $(basename $0) <URL>"
+ 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
* 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
.
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
<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
- <RDF:Description about="chrome://messenger/content/messenger.xul#sizeCol"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#cmd_viewnavbar"
- checked="false" />
- <RDF:Description about="chrome://messenger/content/messenger.xul#threadOutliner"
- height="94" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#sizeCol"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#sidebar-splitter"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#totalCol"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#cmd_viewtaskbar"
- checked="false" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#status-bar"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#sidebar-panels"
- last-selected-panel="urn:sidebar:panel:bookmarks" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#nav-bar"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#threadOutliner"
- height="94" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul">
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#threadOutliner"/>
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#statusCol"/>
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#sizeCol"/>
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#unreadCol"/>
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#totalCol"/>
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#OrderReceivedColumn"/>
- <NC:persist resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul#flaggedCol"/>
+ <RDF:Description RDF:about="chrome://mozapps/content/downloads/unknownContentType.xul#unknownContentType"
+ screenX="267"
+ screenY="304" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul#PersonalToolbar"
+ currentset="__empty"
+ collapsed="true" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul#toolbar-menubar"
+ currentset="__empty"
+ collapsed="true" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul#sidebar-box"
+ collapsed="true"
+ sidebarcommand=""
+ width=""
+ src="" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul#status-bar"
+ hidden="true" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul">
+ <NC:persist RDF:resource="chrome://browser/content/browser.xul#main-window"/>
+ <NC:persist RDF:resource="chrome://browser/content/browser.xul#sidebar-box"/>
+ <NC:persist RDF:resource="chrome://browser/content/browser.xul#sidebar-title"/>
+ <NC:persist RDF:resource="chrome://browser/content/browser.xul#nav-bar"/>
+ <NC:persist RDF:resource="chrome://browser/content/browser.xul#PersonalToolbar"/>
+ <NC:persist RDF:resource="chrome://browser/content/browser.xul#toolbar-menubar"/>
</RDF:Description>
- <RDF:Description about="chrome://messenger/content/messenger.xul#totalCol"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/messenger.xul">
- <NC:persist resource="chrome://messenger/content/messenger.xul#statusCol"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#sizeCol"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#unreadCol"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#totalCol"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#OrderReceivedColumn"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#flaggedCol"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#messengerWindow"/>
- <NC:persist resource="chrome://messenger/content/messenger.xul#threadOutliner"/>
+ <RDF:Description RDF:about="chrome://mozapps/content/downloads/unknownContentType.xul">
+ <NC:persist RDF:resource="chrome://mozapps/content/downloads/unknownContentType.xul#unknownContentType"/>
</RDF:Description>
- <RDF:Description about="chrome://messenger/content/messenger.xul#flaggedCol"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/messenger.xul#messengerWindow"
- screenX="4"
- screenY="4"
- width="800"
- height="565" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#unreadCol"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#statusCol"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#PersonalToolbar"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/messenger.xul#statusCol"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#sidebar-box"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/messenger.xul#unreadCol"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#OrderReceivedColumn"
- hidden="true" />
- <RDF:Description about="chrome://messenger/content/mail3PaneWindowVertLayout.xul#flaggedCol"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#main-window"
- screenX="0"
- screenY="0"
- sizemode="normal"
- width="1010"
- height="787" />
- <RDF:Description about="chrome://messenger/content/addressbook/addressbook.xul">
- <NC:persist resource="chrome://messenger/content/addressbook/addressbook.xul#abResultsOutliner"/>
+ <RDF:Description RDF:about="chrome://global/content/customizeToolbar.xul">
+ <NC:persist RDF:resource="chrome://global/content/customizeToolbar.xul#CustomizeToolbarWindow"/>
</RDF:Description>
- <RDF:Description about="chrome://messenger/content/messenger.xul#OrderReceivedColumn"
- hidden="true" />
- <RDF:Description about="chrome://navigator/content/navigator.xul">
- <NC:persist resource="chrome://navigator/content/navigator.xul#sidebar-panels"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#sidebar-box"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#sidebar-splitter"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#main-window"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#nav-bar"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#cmd_viewnavbar"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#PersonalToolbar"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#cmd_viewpersonaltoolbar"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#status-bar"/>
- <NC:persist resource="chrome://navigator/content/navigator.xul#cmd_viewtaskbar"/>
+ <RDF:Description RDF:about="chrome://help/content/help.xul#help"
+ screenX="350"
+ screenY="225"
+ width="700"
+ height="550" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
+ screenX="50"
+ screenY="25"
+ sizemode="normal"
+ width="994"
+ height="962" />
+ <RDF:Description RDF:about="chrome://help/content/help.xul">
+ <NC:persist RDF:resource="chrome://help/content/help.xul#help"/>
</RDF:Description>
- <RDF:Description about="chrome://messenger/content/addressbook/addressbook.xul#abResultsOutliner"
- height="94" />
- <RDF:Description about="chrome://navigator/content/navigator.xul#cmd_viewpersonaltoolbar"
- checked="false" />
+ <RDF:Description RDF:about="chrome://browser/content/browser.xul#nav-bar"
+ currentset="__empty"
+ collapsed="true" />
</RDF:RDF>
+
+
+
EOF
fi
# Start mozilla with GOsa profile
-mozilla -P gosa
+firefox -P gosa