summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfirewall
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-09-02 10:21:42 +0000
committerDaouda Lo <daouda@mandriva.com>2002-09-02 10:21:42 +0000
commit7dd5d80a97d2aa7e04b386e37745bbbe21bd1b7e (patch)
tree38358b8758dda2db32f1e9bf3fd12bc215f178f3 /perl-install/standalone/drakfirewall
parent2aaa0d22981c68fbb5ac0fba9181f19780dcabd3 (diff)
downloaddrakx-backup-do-not-use-7dd5d80a97d2aa7e04b386e37745bbbe21bd1b7e.tar
drakx-backup-do-not-use-7dd5d80a97d2aa7e04b386e37745bbbe21bd1b7e.tar.gz
drakx-backup-do-not-use-7dd5d80a97d2aa7e04b386e37745bbbe21bd1b7e.tar.bz2
drakx-backup-do-not-use-7dd5d80a97d2aa7e04b386e37745bbbe21bd1b7e.tar.xz
drakx-backup-do-not-use-7dd5d80a97d2aa7e04b386e37745bbbe21bd1b7e.zip
- replace tinyfirewall by drakfirewall
Diffstat (limited to 'perl-install/standalone/drakfirewall')
-rwxr-xr-xperl-install/standalone/drakfirewall30
1 files changed, 30 insertions, 0 deletions
diff --git a/perl-install/standalone/drakfirewall b/perl-install/standalone/drakfirewall
new file mode 100755
index 000000000..27dfb92a9
--- /dev/null
+++ b/perl-install/standalone/drakfirewall
@@ -0,0 +1,30 @@
+#!/usr/bin/perl
+
+# Copyright (C) 1999-2002 MandrakeSoft (pixel@mandrakesoft.com)
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# 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.
+
+use lib qw(/usr/lib/libDrakX);
+
+use standalone; #- warning, standalone must be loaded very first, for 'explanations'
+
+use interactive;
+use network::drakfirewall;
+
+my $in = 'interactive'->vnew('su', 'default');
+
+network::drakfirewall::main($in);
+
+$in->exit;