Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 859348 Details for
Bug 1040625
startup script needs updating
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
startup script for testing
azureus (text/plain), 3.30 KB, created by
David Juran
on 2014-02-04 20:45:23 UTC
(
hide
)
Description:
startup script for testing
Filename:
MIME Type:
Creator:
David Juran
Created:
2014-02-04 20:45:23 UTC
Size:
3.30 KB
patch
obsolete
>#!/bin/bash > >######## CONFIGURATION OPTIONS ######## >SCRIPT_NOT_CHANGED=1 # change this to 1 if you don't want your script overwritten! >JAVA_PROGRAM_DIR="/usr/lib/jvm/jre/bin/" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/" >PROGRAM_DIR="/usr/share/azureus" # use full path to Azureus bin dir >JAVA_ARGS="-Xmx128m" > >case $(uname -i) in > *64) > SWT=/usr/lib64/eclipse/swt.jar > LIBDIR=/usr/lib64 > ;; > *) > SWT=/usr/lib/eclipse/swt.jar > LIBDIR=/usr/lib > ;; >esac > > >export LD_LIBRARY_PATH=$LIBDIR/eclipse/plugins/:$LIBDIR/eclipse/:$LIBDIR CLASSPATH=$SWT:`build-classpath bcprov apache-commons-cli log4j`:/usr/share/azureus/Azureus2.jar > >#export MOZILLA_FIVE_HOME="/path/to/gre" # Full path to GRE/Mozilla. When commenting out this line, also comment out the next line >#if [ "$LD_LIBRARY_PATH x" = " x" ]; then export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME; else export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH; fi >####################################### > > > >######## YOU PROBABLY DO NOT WANT TO TOUCH ANYTHING BELOW! ######## > >SCRIPT_VERSION=3 >START_CLASS="org.gudy.azureus2.ui.swt.Main" > >MSG_LOADING="Loading Azureus:" >MSG_STARTING="Starting Azureus..." >MSG2="Java exec found in " >MSG3="OOPS, your java version is too old " >MSG4="You need to upgrade to JRE 1.4.x or newer from http://java.sun.com" >MSG5="Suitable java version found " >MSG6="Configuring environment..." >MSG7="OOPS, you don't seem to have a valid JRE " >MSG8="OOPS, unable to locate java exec in " >MSG9=" hierarchy" >MSG10="Java exec not found in PATH, starting auto-search..." >MSG11="Java exec found in PATH. Verifying..." >MSG_AZEXIT="Exit from Azureus complete" >MSG_TERMINATED="Azureus TERMINATED." >MSG_RECHECK="Re-checking with GCJ (Sun Java recommended).." >MSG_ISGCJ="Java is GCJ.. looking for Sun Java.." >MSG_JAVABORK="Java appeared to have crashed:" > >SKIP_GCJ=1 > >runJavaOutput() >{ > TMP_SCRIPT=$(mktemp) > > ${JAVA_PROGRAM_DIR}java \ > -cp "${CLASSPATH}" \ > -Djava.library.path="${PROGRAM_DIR}" \ > -Dazureus.install.path="${PROGRAM_DIR}" \ > -Dazureus.script="$0" \ > $JAVA_PROPS \ > "$@" > $TMP_SCRIPT > > if [ -f ~/$TMP_SCRIPT ]; then > chmod +x $TMP_SCRIPT > . $TMP_SCRIPT > rm $TMP_SCRIPT > fi >} > >echo $MSG_STARTING > ># Change path here so we can do for loop on program dirs with spaces >cd "${PROGRAM_DIR}" > ># build the classpath >for FILE in ./*.jar; do > CLASSPATH="${CLASSPATH:+${CLASSPATH}:}$FILE" >done > ># setup Java System Properties (no spaces in values) >JAVA_PROPS="-Dazureus.script.version=${SCRIPT_VERSION} -Dorg.eclipse.swt.browser.UseWebKitGTK=true" > >runJavaOutput "org.gudy.azureus2.platform.unix.ScriptBeforeStartup" "$@"; > >echo $MSG_LOADING > >echo "${JAVA_PROGRAM_DIR}java -cp \"${CLASSPATH}\" -Djava.library.path=\"${PROGRAM_DIR}\" -Dazureus.install.path=\"${PROGRAM_DIR}\" -Dazureus.script=\"$0\" $JAVA_PROPS $START_CLASS $@" ># Don't use "exec -a Azureus ..." here as exec quits this script after completion, ># preventing ScriptAfterShutdown from running, which installs updates and does ># restarts >${JAVA_PROGRAM_DIR}java \ > -cp "${CLASSPATH}" \ > -Djava.library.path="${PROGRAM_DIR}" \ > -Dazureus.install.path="${PROGRAM_DIR}" \ > -Dazureus.script="$0" \ > $JAVA_PROPS \ > $START_CLASS "$@" > >echo $MSG_AZEXIT > >runJavaOutput "org.gudy.azureus2.platform.unix.ScriptAfterShutdown" "$@"; > >echo $MSG_TERMINATED
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1040625
: 859348 |
859919