| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/opt/cpanel/ea-ruby27/ |
Upload File : |
#!/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