summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-08-05 15:51:48 +0000
committerMystery Man <unknown@mandriva.org>2002-08-05 15:51:48 +0000
commit60a32f602c51495953e8f5db7ff42704a939caca (patch)
treee5927f165ceb0e00e0067ed53ac00bcfb6ef4a80 /perl-install/standalone/draksec
parentf40f7286b31daab17a4db329040e543f830d3175 (diff)
downloaddrakx-backup-do-not-use-1_1_9_5mdk.tar
drakx-backup-do-not-use-1_1_9_5mdk.tar.gz
drakx-backup-do-not-use-1_1_9_5mdk.tar.bz2
drakx-backup-do-not-use-1_1_9_5mdk.tar.xz
drakx-backup-do-not-use-1_1_9_5mdk.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_9_5mdk'.V1_1_9_5mdk
Diffstat (limited to 'perl-install/standalone/draksec')
-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;