From 4e42e65e5bb0837e507504d1792387a5b0f52383 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 20 Oct 2005 18:14:41 +0000 Subject: reboot if things went nicely --- rescue/partimage_whole_disk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rescue/partimage_whole_disk') diff --git a/rescue/partimage_whole_disk b/rescue/partimage_whole_disk index 3649c70f1..c332df838 100755 --- a/rescue/partimage_whole_disk +++ b/rescue/partimage_whole_disk @@ -215,6 +215,11 @@ sub rest_all { } run_or_die('install_bootloader', '--auto'); + + print "\n", "Your system is ready, press enter to reboot (Y/n) "; + if ( !~ /n/i) { + run_program::run('reboot'); + } } sub lst_fields() { qw(device size fs_type saved) } -- cgit v1.2.1