diff options
author | Mystery Man <unknown@mandriva.org> | 2002-09-12 16:27:50 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-09-12 16:27:50 +0000 |
commit | 72c601a253551747621693a5896df095e6a344aa (patch) | |
tree | 01d9e6856eede4757785f0daff4df9923d0ff97e /perl-install/standalone/draksec | |
parent | 4c32fa0682b1703defb3b1e1a19643a263f2848e (diff) | |
download | drakx-1_1_9_46mdk.tar drakx-1_1_9_46mdk.tar.gz drakx-1_1_9_46mdk.tar.bz2 drakx-1_1_9_46mdk.tar.xz drakx-1_1_9_46mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_9_46mdk'.V1_1_9_46mdk
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-x | perl-install/standalone/draksec | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec deleted file mode 100755 index 084ae3f42..000000000 --- a/perl-install/standalone/draksec +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/perl -#***************************************************************************** -# -# Copyright (c) 2002 Christian Belisle (cbelisle@mandrakesoft.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2, as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -#***************************************************************************** - -"@ARGV" =~ /-h/ and do { - printf STDERR "Usage: draksec [OPTION]... - --debug print debugging information -"; - exit 0; - }; - -use lib qw(/usr/lib/libDrakX); - -use strict; -use vars qw($MODE %options $XID $CCPID); - -use security::main; - -$MODE = 'basic'; -$0 =~ '/draksec-firewall$' and $MODE = 'firewall'; -$0 =~ '/draksec-perms$' and $MODE = 'perms'; - -/^-?-(\S+)$/ and $options{$1} = 1 foreach @ARGV; - -$::isStandalone = 1; -Gtk->init; - -draksec_main(); - -myexit 0; |