403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.243.196
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/eset/efs/lib/install_scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/eset/efs/lib/install_scripts/register_service.sh
#!/bin/sh

# Script to be run after package is installed

# run script which set product-specific configuration
/opt/eset/efs/lib/install_scripts/configure.sh

# register periodic statistics reporting in cron
ln -s /opt/eset/efs/etc/cron/eset_efs_report_statistics /etc/cron.monthly

# register and start services
if systemctl --version >/dev/null 2>/dev/null; then
	if [ -d /lib/systemd/system ]; then
		cp /opt/eset/efs/etc/systemd/efs.service /lib/systemd/system/efs.service
	elif [ -d /usr/lib/systemd/system ]; then
		cp /opt/eset/efs/etc/systemd/efs.service /usr/lib/systemd/system/efs.service
	fi
	cp /opt/eset/efs/etc/systemd/efs-user-agent.service /usr/lib/systemd/user/
	chmod 644 /usr/lib/systemd/user/efs-user-agent.service

	systemctl daemon-reload 2>/dev/null
	systemctl enable efs 2> /dev/null
	systemctl start efs 2> /dev/null
else
	# systemctl missing
	exit 1
fi

Youez - 2016 - github.com/yon3zu
LinuXploit