summaryrefslogtreecommitdiff
path: root/firefox-xremote-client.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'firefox-xremote-client.sh.in')
-rw-r--r--firefox-xremote-client.sh.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/firefox-xremote-client.sh.in b/firefox-xremote-client.sh.in
new file mode 100644
index 0000000..224f518
--- /dev/null
+++ b/firefox-xremote-client.sh.in
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+##
+## Set MOZILLA_FIVE_HOME
+##
+MOZILLA_FIVE_HOME="FFDIR"
+
+export MOZILLA_FIVE_HOME
+
+##
+## Set LD_LIBRARY_PATH
+##
+if [ "$LD_LIBRARY_PATH" ]
+then
+ LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins:LIBDIR/mozilla/plugins:LIBDIR:$LD_LIBRARY_PATH
+else
+ LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins:LIBDIR/mozilla/plugins:LIBDIR
+fi
+ export LD_LIBRARY_PATH
+
+$MOZILLA_FIVE_HOME/firefox-bin -remote "$1"
bgstack15