REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 618 B
Close
/proc/thread-self/root/proc/thread-self/root/opt/cpanel/ea-ruby27/fix-ALTMODP-166.sh
Text
Base64
#!/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
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
root
DIR
-
dr-xr-xr-x
2024-03-21 10:21:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
src
DIR
-
drwxr-xr-x
2026-02-13 08:03:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
enable
539 B
lrw-r--r--
2024-02-01 10:00:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fix-ALTMODP-166.sh
618 B
lrwxr-xr-x
2026-02-05 08:54:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).