Subversion Repositories livecd

Rev

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

Rev 80 Rev 81
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:"
81
echo "restore folders from /mini ..."
82
mv -v /mini/usr/share/doc/* /usr/share/doc/ 2>/dev/null
82
mv /mini/usr/share/doc/* /usr/share/doc/ 2>/dev/null
83
if [ -f /mini/usr/share/info/bash.info.gz ]; then
83
if [ -f /mini/usr/share/info/bash.info.gz ]; then
84
    ./mini-livecd.sh -restore
84
    ./mini-livecd.sh -restore
85
fi
85
fi
86
echo "done."
86
echo "done."
-
 
87
echo
87
 
88
 
88
### restore cronjobs
89
### restore cronjobs
89
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
90
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
90
mv /etc/cron_backup/00-makewhatis.cron.weekly /etc/cron.weekly/00-makewhatis.cron 2>/dev/null
91
mv /etc/cron_backup/00-makewhatis.cron.weekly /etc/cron.weekly/00-makewhatis.cron 2>/dev/null
91
mv /etc/cron_backup/* /etc/cron.daily/
92
mv /etc/cron_backup/* /etc/cron.daily/