what the heck are you trying to do?
Are you sure it's such a great idea to make the binary 777?Code:while true do while true do umount /mnt/cdrom >/dev/null 2>&1 echo "Mounting cdrom... if something pops up, close it" if [ mount /mnt/cdrom >/dev/null 2>&1 ] then break else echo "The cd did not mount properly. Please reinsert cd" eject /mnt/cdrom read blank continue fi done echo Installing ServeRAID Manager.... rpm --install /mnt/cdrom/linux/manager/RaidMan-4.84.i386.rpm 2> /dev/null echo Copying ipssend to /usr/bin and changing permissions to 755.... cp /mnt/cdrom/linux/cmdline/ipssend /usr/bin 2> /dev/null chmod 755 /usr/bin/ipssend echo umount /mnt/cdrom 2> /dev/null echo Installation of ServeRAID is now complete. You may remove the cd. done
I'm not sure if this does exactly what you want, but it should.


Reply With Quote
Bookmarks