Skip to content

Commit

Permalink
👽 🤘 remove last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Aug 28, 2016
1 parent aed9a54 commit a8cd544
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Nipe/Device.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package Nipe::Device;

my $os = `cat /etc/os-release | grep 'ID' | cut -d '=' -f 2`;

sub getDeviceInfos {
sub getUsername {
my $username;

if ($os =~ /[U,u]buntu/) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Nipe/Functions.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sub help {
}

sub install {
my $os = Nipe::Device -> getDeviceInfos();
my $os = `cat /etc/os-release | grep 'ID' | cut -d '=' -f 2`;

if (($os =~ /[U,u]buntu/) || ($os =~ /[D,d]ebian/)) {
system ("sudo apt-get install tor iptables");
Expand Down
2 changes: 1 addition & 1 deletion lib/Nipe/Start.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sub new {
my @table = ("nat", "filter");
my $network = "10.66.0.0/255.255.0.0";

my $username = Nipe::Device -> getDeviceInfos();
my $username = Nipe::Device -> getUsername();

foreach my $nipe(@table) {
my $target = "ACCEPT";
Expand Down

0 comments on commit a8cd544

Please sign in to comment.