1
edit
Changes
→Version 0.1
echo Exit 0
Our next step is to study shell scripting to get the same effect for Firefox on Linux. The Linux distribution also has a default start up script, that we hope take advantage of. We confirmed that Linux Firefox can read the same universal profile structure that we have designed. Our next goal is to duplicate the same behavior on Linux as we have for Windows.
=== Version 0.2 ===
For 0.2 we have created a linux script, and after much experimentaiton, and learning just a tad about shell scripting, we found several ways to
get the active directory, eventually using code that was already in the Firefox shell script. Our problem was that the firefox binary has a dependency on libstc++5, and was blowing up on Linux distros that were using libstc++ 6, which include almost all distro's. Our quick fix solution
was to add libstc++5 to our stick, and this indeed solved the problem for now. We hope to be able to set the library paths up so that Firefox on a stick will first search the desktop system, then our stick, for all the shared libraries.
Our Linux script is as follows:
#!/bin/bash
echo "Starting Linux Firefox From USB"
progname="$0"
curdir=`dirname "$progname"`
progbase=`basename "$progname"`
#echo "progname - whole path and name= " $progname
#echo "curdir - directory!! = " $curdir
#echo "progbase - script name = " $progbase
# Testing stuff
# batchpath=${BASH_SOURCE%/*}
# script_path=$0
# [ -e "$script_path" ] || script_path=$(command -v -- "$0")
# echo $script_path
$curdir/linux/firefox --no-remote -profile $curdir/Profiles/UniversalProfile '''<font color="red"><----this line returns the current directory of the shell script</font>'''
== Project Leader(s) ==