From 055f3de9b0472b05a6dc845a94f6f7d276bea0f3 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Fri, 13 Sep 2002 14:58:00 +0000 Subject: - meuh aka launch drakbug when incident is risen --- perl-install/standalone.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 567373da4..7ab29d14b 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -1,6 +1,7 @@ package standalone; # $Id$ use c; +use Config; $::isStandalone = 1; @@ -114,6 +115,7 @@ sub explanations { c::syslog(c::LOG_INFO()|c::LOG_LOCAL1(), "@_") } @builtin_functs = qw(chmod chown unlink link symlink rename system); @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::monitor Xconfig::parse Xconfig::proprietary Xconfig::resolution_and_depth Xconfig::screen Xconfig::test Xconfig::various Xconfig::xfree Xconfig::xfree3 Xconfig::xfree4 Xconfig::xfreeX any bootloader bootlook c class_discard commands crypto detect_devices devices diskdrake diskdrake::hd_gtk diskdrake::interactive diskdrake::removable diskdrake::removable_gtk diskdrake::smbnfs_gtk fs fsedit http keyboard lang log loopback lvm modparm modules mouse my_gtk network network::adsl network::ethernet network::isdn_consts network::isdn network::modem network::netconnect network::network network::nfs network::smb network::tools partition_table partition_table_bsd partition_table::dos partition_table::empty partition_table::gpt partition_table::mac partition_table::raw partition_table::sun printer printerdrake proxy raid run_program scanner services steps swap timezone network::drakfirewall network::shorewall); +$SIG{SEGV} = sub { exec("drakbug --incident $0")}; sub import { ($standalone_name = $0) =~ s|.*/||; -- cgit v1.2.1