diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-04-03 06:40:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-04-03 06:40:59 +0000 |
commit | 17e5420e2253dd4f00bd46919babcaafc004f524 (patch) | |
tree | acd6d547e9ff20c15ae2f6238615eb5b6077a76e /perl-install/install/steps_interactive.pm | |
parent | 4af15017a550c2b365b1194430c98295030e9ca6 (diff) | |
download | drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar.gz drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar.bz2 drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar.xz drakx-17e5420e2253dd4f00bd46919babcaafc004f524.zip |
enable to restore the system through rsnapshot if giving "restore" on cmdline
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r-- | perl-install/install/steps_interactive.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 84984e32c..9b167551a 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -109,6 +109,11 @@ sub selectKeyboard { } keyboard::group_toggle_choose($o, $o->{keyboard}) or goto &selectKeyboard; install::steps::selectKeyboard($o); + if ($::isRestore) { + require MDV::Snapshot::Restore; + MDV::Snapshot::Restore::main($o); + $o->exit; + } } #------------------------------------------------------------------------------ |