GRAYBYTE WORDPRESS FILE MANAGER8929

Server IP : 198.54.121.189 / Your IP : 216.73.216.34
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cpanel/ea-ruby27/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cpanel/ea-ruby27//fix-ALTMODP-166.sh
#!/bin/sh

FIXED_FLAG=/usr/share/lve/ALTMODP-166.fixed
CAGEFS_MP=/etc/cagefs/cagefs.mp
CAGEFSCTL=/usr/sbin/cagefsctl

if [ -f "$CAGEFS_MP" ]
then
    # Remove alt-mod-passenger auto comment and the line after it
    /usr/bin/sed -i -e '/^# next line is added by alt-mod-passenger/,+1d' "$CAGEFS_MP"

    if [ -x "$CAGEFSCTL" ]
    then
        echo "CageFS will be remounted for alt-mod-passenger cleanup"
        "$CAGEFSCTL" --remount-all
        echo "CageFS remounted"
    fi
    /bin/touch "$FIXED_FLAG"
else
    # No MP -> no alt-mod-passenger setup, so no need to fix it
    /bin/touch "$FIXED_FLAG"
fi
exit 0


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 20 2025 12:18:13
root / root
0755
root
--
March 05 2024 23:46:10
root / root
0555
src
--
August 22 2024 08:33:03
root / root
0755
enable
0.526 KB
February 01 2024 10:00:03
root / root
0644
fix-ALTMODP-166.sh
0.604 KB
December 04 2024 09:47:36
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF