MMCT TEAM
Server IP : 192.185.129.71  /  Your IP : 3.17.152.174
Web Server : Apache
System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : svymadmin ( 4072)
PHP Version : 7.4.33
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