BACKUP_MENU_ENTRY=`grep "BACKUP SYSTEM" /hda1/home/dsl/.fluxbox/menu`
sed -e 's/"$BACKUP_MENU_ENTRY"//'
find /hda1 > /tmp/files_to_backup.lst
echo "Please enter each file or folder you don't wish to backup on a separate line, ending with "EOF"."
cat << EOF > /tmp/files_to_avoid.lst
tar -C /hda1 -T /tmp/files_to_backup.lst -X /tmp/files_to_avoid.lst zxvpsf hda3/hda1backup.tar.gz
|Quote (jpeters @ Aug. 14 2007,03:41)|
|At the top of the script:|
sudo cp /boot/grub/menu.lst_backupmode /boot/grub/menu.lst
Where were _backupmode files created?
|Quote (CyberCod @ Sep. 07 2007,19:52)|
|If memory serves, those files were kept in the /boot/grub folder of the first installation|
menu.lst_backupmode is a modified copy of menu.lst that puts the 2nd install as the first boot option in the grub menu.