summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2dd9b8)
raw | patch | inline | side by side (parent: a2dd9b8)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Jun 2007 15:33:04 +0000 (15:33 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Jun 2007 15:33:04 +0000 (15:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6703 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/scripts/desktoprc | [new file with mode: 0644] | patch | blob |
contrib/scripts/start-gosa.sh | patch | blob | history |
diff --git a/contrib/scripts/desktoprc b/contrib/scripts/desktoprc
--- /dev/null
@@ -0,0 +1 @@
+URL="https://www.gosa-project.org/demo/2.5/"
index db48be6a851ce006d03a207135e3862ab96afb48..3fb6d0051ea8131e1a3b7df823355198a2047e13 100755 (executable)
#!/bin/sh
# Start script for GOsa to be started via gecko based browsers
+[ -r /etc/gosa/desktoprc ] && . /etc/gosa/desktoprc
+[ -r $HOME/.gosa-desktop ] && . $HOME/.gosa-desktop
+
url=""
-if [ $# -ne 1 ]; then
+if [ $# -ne 1 -a -z "$URL" ]; then
echo "Usage: $(basename $0) <URL>"
exit 1
fi
+if [ $# -ne 1 ]; then
+ url="$URL"
+else
+ url="$1"
+fi
+
# What browser are we using?
result=""
for browser in iceweasel firefox mozilla; do