summaryrefslogtreecommitdiffstats
path: root/old
diff options
context:
space:
mode:
Diffstat (limited to 'old')
-rwxr-xr-xold/drakvpn-old3
1 files changed, 2 insertions, 1 deletions
diff --git a/old/drakvpn-old b/old/drakvpn-old
index 3f247a9..1e0806e 100755
--- a/old/drakvpn-old
+++ b/old/drakvpn-old
@@ -39,6 +39,7 @@ use Data::Dumper;
$::isInstall and die "Not supported during install.\n";
+require_root_capability();
local $_ = join '', @ARGV;
@@ -52,7 +53,7 @@ my $ipsec_conf = "";
my $racoon_conf = "/etc/racoon/racoon.conf";
my $ipsec_package = "";
-my $in = interactive->vnew('su');
+my $in = interactive->vnew;
my $shorewall = network::shorewall::read($in);
my @section_names;