?
Current Path : /scripts/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
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 {} \;