First Commit from Source Code Reply

This commit is contained in:
vincenzofariello
2024-05-09 17:40:24 +02:00
parent 11e3b57c5b
commit 107a016cb9
35225 changed files with 1111346 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/ksh
THIS_PATH=`dirname $0`
. $THIS_PATH/setEnv.sh
SFTPD_PROPERTIES="${GNP_HOME}/properties/sftpd.properties"
CLASSPATH="${GNP_LIB_HOME}/sftpd.jar:${GNP_LIB_HOME}/log4j-1.2.16.jar:${GNP_LIB_HOME}/commons-logging-1.0.4.jar:${GNP_LIB_HOME}/jsch-0.1.54.jar:${GNP_HOME}/properties"
check_node=`$THIS_PATH/TestNodo.sh`
if [ $? -eq 0 ]
then
echo "Nodo abilitato ad eseguire lo script"
${JAVA_HOME}/bin/java -classpath $CLASSPATH -Dfile.encoding=UTF-8 -Dproperties_path="${SFTPD_PROPERTIES}" it.alescar.sftp.daemon.SFTPDaemon $1 $2
else
echo "(WARNING) Nodo non abilitato ad eseguire script"
fi