#!/bin/sh
echo "Backing Up /home/user/.profile And /home/user/.bashrc If Any Exists"

cp /home/user/.profile /home/user/.profile.bak
cp /home/user/.bashrc /home/user/.bashrc.bak

echo "Installing New .profile And .bashrc To /home/user/"

mv /home/user/.profile.speedpatch /home/user/.profile
mv /home/user/.bashrc.speedpatch /home/user/.bashrc
chmod +rwx /usr/local/sbin/cgroup_clean
chmod +rwx /etc/rc.local

echo "All Done"
echo "Ignore Any Errors Appeared About No Such File Or Directory"
echo "This Happens If You Don't Have Any Old .profiel and .bashrc Files"
echo "You Need To Reboot Twice To Finish The Installation Process"

exit 0
