summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-07-15 15:44:22 +0000
committerDaouda Lo <daouda@mandriva.com>2002-07-15 15:44:22 +0000
commited92a46fec1f2e7c2477ea46eed90db77979d9d9 (patch)
treea917eac64ebe314c20041b7a10307b98fedd7808 /perl-install/standalone/draksec
parent91f5904bdde9d2b2116aead085e096efb328b158 (diff)
downloaddrakx-backup-do-not-use-ed92a46fec1f2e7c2477ea46eed90db77979d9d9.tar
drakx-backup-do-not-use-ed92a46fec1f2e7c2477ea46eed90db77979d9d9.tar.gz
drakx-backup-do-not-use-ed92a46fec1f2e7c2477ea46eed90db77979d9d9.tar.bz2
drakx-backup-do-not-use-ed92a46fec1f2e7c2477ea46eed90db77979d9d9.tar.xz
drakx-backup-do-not-use-ed92a46fec1f2e7c2477ea46eed90db77979d9d9.zip
- set isStandalone to 1 to center wait messages
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index ca7337c81..a04202f48 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -30,11 +30,13 @@ use security::msec;
local $_ = join '', @ARGV;
+
/-h/ and die "usage: draksec [--expert]\n";
$::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
+$::isStandalone=1;
my $in = 'interactive'->vnew('su', 'security');
begin: