Configuration question about a Java program
I'm running FreeRapid v.81 which is an auto downloader for Rapidshare files in Linux Mint 6 (Ubuntu 8.10). When I try using the auto shutdown option I get "System command "shutdown" is not supported or defined on this system. Check your settings in the file "syscmd.properties". In the syscmd.properties file it shows the following:
# The commands are called from the application (eg. shutdown system, when all downloads are complete).
# This configuration file has a syntax of Java properties file (key=value, # - line comment. \n - new line, \t - tabulator).
#
# Application searches for this file in its configuration directory as first (~/.APPCODE),
# then it searches for this file in application's home directory.
# It's recommended to copy this file to its configuration directory (~/.APPCODE) for easier upgrading to newer version of the application.
# ******************************
# ***** RUNTIME VARIABLES ******
# ******************************
# You can insert following variables into your values. These variables will be replaced on runtime.
# %DIR% - current application directory (absolut path) - like /home/userid/appname
# %VERSION% - application version - eg. 0.65
# %PRODUCT% - product name - SuperSoftware
# %APPVERSION% - product name + version - eg. SuperSoftware 0.65
# %AUTHORS% - one line info about authors - eg. (c) Vity 2008
# %ICON_PATH% - absolut path to icon file - eg. ~/appname/app.png
# %SH_SCRIPT_PATH% - absolut path to shell script file running application - eg. /home/userid/appname/app.sh
# %ARGS% - arguments, which were used for application start - eg. --debug
# ******************************
# ***** SYSTEM COMMANDS *******
# ******************************
# Uncomment line with command as needed
#### Shortcuts commands
# Meaning of these commands is obvious
# Application WAITS for a result code.
#create_desktop_shortcut=
#create_startmenu_shortcut=
#create_startup_shortcut=
#create_quicklaunch_shortcut=
#### Application restart command
restart_application=java -jar %DIR%/frd.jar %ARGS%
"#### System shutdown commands
# It's highly recommended to insert sleep pause (eg. 2 seconds) before executing this type of command.
# Application DOESN'T WAIT for a result code.
#
# system shutdown - poweroff - 'sudo poweroff'
#
#shutdown=
#
# system reboot - 'sudo reboot'
#
#reboot=
#
# system hibernate - suspend to disk
#
#hibernate=
#
# system standby - suspend to RAM
#
#standby=
Anyone know what I do here? Thanks.
Last edited by jacatone; 03-07-2009 at 04:55 PM.
|