403Webshell
Server IP : 193.86.120.172  /  Your IP : 216.73.216.67
Web Server : Apache/2.4.63 (Unix)
System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64
User : kubec ( 1026)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/packages/SynologyDrive/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/packages/SynologyDrive/scripts/cstn_upgrade
#!/bin/sh

#Get all necessary functions about upgrading
. /var/packages/SynologyDrive/scripts/pkg_utils

PACKAGE_PATH="/var/packages/SynologyDrive"
SCRIPTSPATH="${PACKAGE_PATH}/target/scripts"

upgrade_cstn_db
if [ "0" != "$?" ]; then
	logger -p 3 "cstn: Failed to upgrade!"
	return 1;
fi

rm -rf "$CSTN_INSTALL_TMP_FILE"

if [ -f "${PACKAGE_PATH}/enabled" ]; then
	${CSTN_CLOUD_CONTROL} service --start
fi


Youez - 2016 - github.com/yon3zu
LinuXploit