MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.191.189.124
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../scripts/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../scripts/postupcp
#!/bin/bash
rm -f /var/cpanel/has_fast_update_on_lan
chattr -i /etc/cpupdate.conf /var/cpanel/rpm.versions.d/local.versions

LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/bin/puppet agent --onetime --no-daemon
/opt/nf-observability/bin/rpmdbcheck.sh
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/cloudlinux-ea4*
_php_vers=( $(/bin/awk -F: '/ea-php[5-8]+.*lsapi/ {print $1}' <(/usr/local/cpanel/bin/rebuild_phpconf --available)) )
/usr/local/cpanel/bin/rebuild_phpconf $(printf -- ' --%s=lsapi' "${_php_vers[@]}")
find /home*/ -maxdepth 2 -mindepth 2 -name backupwordpress -type d -perm /o+x -exec chmod -v 750 {} \;

MMCT - 2023