MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //scripts.20110601.041516.15411/downgradefp
#!/bin/sh

echo "This script is not supported"

echo "Downgrading to fp 5.0-0"

if [ "`grep \"Red Hat Linux release 9\" /etc/redhat-release`" = "" ]; then
                (cd /usr/local/frontpage/version5.0/apache-fp;chattr -i _vti_bin/fpexe)
                rpm -Uvh --force http://httpupdate.cpanel.net/fp/frontpage-5.0-0.i386.rpm
                /scripts/initfpsuexec
                (cd /usr/local/frontpage/version5.0/apache-fp;chattr +i _vti_bin/fpexe)
else
	echo "Frontpage cannot be downgraded on redhat 9"
	exit


fi