403Webshell
Server IP : 64.223.137.62  /  Your IP : 104.23.197.96
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver9 5.15.0-170-generic #180-Ubuntu SMP Fri Jan 9 16:10:31 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/synology-active-backup-business-linux-service.postinst
#!/bin/bash

LINUX_SERVICE="synology-active-backup-business-linux-service"

main()
{
	action="$1"
	case "${action}" in
		configure)
			action_configure $@
		;;
		abort-upgrade)
			action_abort_upgrade $@
		;;
		abort-remove)
			action_abort_remove $@
		;;
		abort-deconfigure)
			action_abort_deconfigure $@
		;;
		*)
			echo "preinst called with unknown argument '$1'" >&2
			exit 1
		;;
	esac

	return $?
}

action_configure()
{
	systemctl enable ${LINUX_SERVICE}
	systemctl start ${LINUX_SERVICE}

	return 0
}

action_abort_upgrade()
{
	new_version="$2"

	return 0
}

action_abort_remove()
{
	in_favour_package_name="$3"
	new_version="$4"

	return 0
}

action_abort_deconfigure()
{
	in_favour_package_name="$3"
	in_favour_package_version="$4"
	conflicting_package_name="$6"
	conflicting_package_version="$7"

	return 0
}

main $@
exit $?


Youez - 2016 - github.com/yon3zu
LinuXploit