summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-09-13 14:58:00 +0000
committerDaouda Lo <daouda@mandriva.com>2002-09-13 14:58:00 +0000
commit055f3de9b0472b05a6dc845a94f6f7d276bea0f3 (patch)
tree7fc7e497e3fef5552603258d48ab863172965bcc
parent0378985cdf0760786f0a8e50e65a02ab3593cb0d (diff)
downloaddrakx-backup-do-not-use-055f3de9b0472b05a6dc845a94f6f7d276bea0f3.tar
drakx-backup-do-not-use-055f3de9b0472b05a6dc845a94f6f7d276bea0f3.tar.gz
drakx-backup-do-not-use-055f3de9b0472b05a6dc845a94f6f7d276bea0f3.tar.bz2
drakx-backup-do-not-use-055f3de9b0472b05a6dc845a94f6f7d276bea0f3.tar.xz
drakx-backup-do-not-use-055f3de9b0472b05a6dc845a94f6f7d276bea0f3.zip
- meuh aka launch drakbug when incident is risen
-rw-r--r--perl-install/standalone.pm2
1 files changed, 2 insertions, 0 deletions
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|.*/||;