#!/bin/sh - umask 077 # * If get "/l/firefox*/firefox-bin: error while loading shared libraries: # /l/firefox*/libxul.so: cannot restore segment prot after reloc: # Permission denied", then run as root: # chcon -t textrel_shlib_t /l/firefox*/libxul.so # so downloads for external viewers don't get left in /tmp TMPDIR="$HOME"/.mozilla/tmp; export TMPDIR # need now when restarting firefox on alembic ... May 10 rm -f "$HOME"/.mozilla/firefox/*.default/compatibility.ini # netscapewin - open a new netscape/mozilla/firefox window, start it if needed # Steve Kinzler, kinzler@cs.indiana.edu, Jun 03/Jan 11 # http://www.cs.indiana.edu/~kinzler/home.html#web case "`webrowse -uw $WWW_HOME 2>&1`" in *[Nn]o*running*) case "$TMPDIR" in ?*) test -d "$TMPDIR" || mkdir -p "$TMPDIR" ${WB_NETSCAPE-netscape} rm -fr "$TMPDIR"/.??* "$TMPDIR"/*;; *) exec ${WB_NETSCAPE-netscape};; esac;; esac