summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorChristian Belisle <cbelisle@mandriva.com>2002-08-19 02:52:08 +0000
committerChristian Belisle <cbelisle@mandriva.com>2002-08-19 02:52:08 +0000
commit86ac09f1fee56db1da7b1ff5aca20a21a1ad0d1f (patch)
treefee1f9997ec820b8f6507997859b17903ff8eeec /perl-install/standalone
parentd2b5901dc558a5c0f1cf55c85f2da95af02d740c (diff)
downloaddrakx-backup-do-not-use-86ac09f1fee56db1da7b1ff5aca20a21a1ad0d1f.tar
drakx-backup-do-not-use-86ac09f1fee56db1da7b1ff5aca20a21a1ad0d1f.tar.gz
drakx-backup-do-not-use-86ac09f1fee56db1da7b1ff5aca20a21a1ad0d1f.tar.bz2
drakx-backup-do-not-use-86ac09f1fee56db1da7b1ff5aca20a21a1ad0d1f.tar.xz
drakx-backup-do-not-use-86ac09f1fee56db1da7b1ff5aca20a21a1ad0d1f.zip
- draksec is now in his own package
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksec26
1 files changed, 0 insertions, 26 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
deleted file mode 100755
index a14049097..000000000
--- a/perl-install/standalone/draksec
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/perl
-
-use lib qw(/usr/lib/libDrakX);
-
-use standalone; #- warning, standalone must be loaded very first, for 'explanations'
-
-use common;
-use interactive;
-use log;
-use security::main;
-
-local $_ = join '', @ARGV;
-
-/-h/ and die "usage: draksec [--expert]\n";
-
-$::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
-
-my $in = 'interactive'->vnew('su', 'security');
-
-begin:
-$::isEmbedded and kill 'USR2', $::CCPID;
-
-security::main::main($prefix, $in);
-
-!$::isEmbedded ? $in->exit(0) : kill('USR1', $::CCPID);
-goto begin;