Subversion Repositories livecd

Rev

Rev 16 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 80
Line 76... Line 76...
76
    rm -rf /etc/yum.repos.d.ori
76
    rm -rf /etc/yum.repos.d.ori
77
    mv -f /etc/yum.repos.d /etc/yum.repos.d.ori
77
    mv -f /etc/yum.repos.d /etc/yum.repos.d.ori
78
fi
78
fi
79
 
79
 
80
### restore folders from /mini
80
### restore folders from /mini
-
 
81
echo "restore folders from /mini:"
-
 
82
mv -v /mini/usr/share/doc/* /usr/share/doc/ 2>/dev/null
81
if [ -f /mini/usr/share/info/bash.info.gz ]; then
83
if [ -f /mini/usr/share/info/bash.info.gz ]; then
82
    ./mini-livecd.sh -restore
84
    ./mini-livecd.sh -restore
83
fi
85
fi
-
 
86
echo "done."
84
 
87
 
85
### restore cronjobs
88
### restore cronjobs
86
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
89
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
87
mv /etc/cron_backup/00-makewhatis.cron.weekly /etc/cron.weekly/00-makewhatis.cron 2>/dev/null
90
mv /etc/cron_backup/00-makewhatis.cron.weekly /etc/cron.weekly/00-makewhatis.cron 2>/dev/null
88
mv /etc/cron_backup/* /etc/cron.daily/
91
mv /etc/cron_backup/* /etc/cron.daily/