summaryrefslogtreecommitdiffstats
path: root/globetrotter
diff options
context:
space:
mode:
Diffstat (limited to 'globetrotter')
-rwxr-xr-xglobetrotter/make_live10
1 files changed, 10 insertions, 0 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live
index 6b53ebcad..d28b5dff6 100755
--- a/globetrotter/make_live
+++ b/globetrotter/make_live
@@ -103,6 +103,16 @@ sub formatdisk {
run_program::get_stdout('service', 'usb', 'start');
}
+sub my_exit {
+ my ($msg) = @_;
+ print "\n\n==============================================================\n\n";
+ print $msg;
+ print "\n\nPress <RETURN> to return back to menu\n\n";
+ print "==============================================================\n\n";
+ <STDIN>;
+ exit(0);
+}
+
sub find_partition {
my ($label, @parts) = @_;
find { member(fs::type2fs($_), qw(ext2 ext3)) && chomp_(`e2label /dev/$_->{device} 2>/dev/root`) eq $label } @parts;