Changeset 2667 in MondoRescue for devel/mrmini/sbin/mrmini


Ignore:
Timestamp:
Jun 27, 2010, 3:27:16 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3936@dhcp184-49-175-19: bruno | 2010-06-26 09:48:04 +0200

  • Inventory now in better shape. Needs useful and exhaustive content now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/mrmini/sbin/mrmini

    r2666 r2667  
    159159# ---------------------------------------------------------------------------
    160160
    161 # Initialize the syntax string
     161# Catch signals
     162$SIG{INT} = \&mr_exit;
     163$SIG{QUIT} = \&mr_exit;
     164$SIG{ABRT} = \&mr_exit;
     165$SIG{KILL} = \&mr_exit;
     166$SIG{TERM} = \&mr_exit;
    162167
    163168#
     
    176181($mr->{'install_dir'},$mr->{'version'}) =  mr_conf_get("mr_install_dir","mr_version");
    177182
     183# Initialize the syntax string
    178184pb_syntax_init("$ENV{'PBPKG'} Version $mr->{'version'}\n");
    179185pb_display_init("text","");
Note: See TracChangeset for help on using the changeset viewer.