2015-05-28 23:55:49 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-08-23 04:48:46 +02:00
|
|
|
# default option.
|
2015-05-28 23:55:49 +02:00
|
|
|
if [ -x "`which java`" ]; then
|
2018-05-25 21:54:53 +02:00
|
|
|
cd /usr/share/freerapid/ && exec java -jar frd.jar "$@"
|
2015-05-28 23:55:49 +02:00
|
|
|
fi
|
|
|
|
|
2015-08-23 04:48:46 +02:00
|
|
|
# less CPU usage.
|
|
|
|
#if [ -x "`which java`" ]; then
|
2018-05-25 21:54:53 +02:00
|
|
|
# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -jar frd.jar "$@"
|
2015-08-23 04:48:46 +02:00
|
|
|
#fi
|
|
|
|
|
|
|
|
# needed for some distros.
|
|
|
|
#if [ -x "`which java`" ]; then
|
2018-05-25 21:54:53 +02:00
|
|
|
# cd /usr/share/freerapid/ && exec java -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
|
2015-08-23 04:48:46 +02:00
|
|
|
#fi
|
|
|
|
|
|
|
|
# better fonts appearance (smooth fonts).
|
|
|
|
#if [ -x "`which java`" ]; then
|
2018-05-25 21:54:53 +02:00
|
|
|
# cd /usr/share/freerapid/ && exec java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
|
2015-08-23 04:48:46 +02:00
|
|
|
#fi
|
|
|
|
|
|
|
|
# all options combined.
|
|
|
|
#if [ -x "`which java`" ]; then
|
2018-05-25 21:54:53 +02:00
|
|
|
# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
|
2015-08-23 04:48:46 +02:00
|
|
|
#fi
|