aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@freifunk.in-kiel.de>2014-06-05 23:34:11 +0200
committerroot <root@freifunk.in-kiel.de>2014-06-05 23:34:11 +0200
commit55b31d38c9db846a618b1a13da27e375742a24a7 (patch)
tree321a045ff90d933621aa5e5702c8498591d6b1e5
parent8b3bde6b7a5339da2ee4473fe2fa3b7d3159bb17 (diff)
deactivate import of fastd keys from wiki
-rwxr-xr-xget-nodes.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/get-nodes.pl b/get-nodes.pl
index af89615..5f6dc39 100755
--- a/get-nodes.pl
+++ b/get-nodes.pl
@@ -64,7 +64,8 @@ sub handle_node {
(defined($fields{GPS})) && ($fields{GPS} gt "") && ($fields{GPS} =~ m!\A(\d{1,3}\.\d+)[\., /]+(\d{1,2}\.\d+)\Z!) && ($gps = "$1 $2");
(defined($fields{MAC})) && ($fields{MAC} gt "") && ($fields{MAC} =~ /\A(([0-9A-Fa-f]{2}:?){5}([0-9A-Fa-f]{2}))\Z/) && ($mac = lc($1)); # && ($mac =~ s/\A([0-9a-f]{2}:?){5}([0-9a-f]{2})\Z/$1:$2:$3:$4:$5:$6/e);
(defined($fields{VPN})) && ($fields{VPN} gt "") && ($vpn = $fields{VPN});
- (defined($fields{FASTD})) && ($fields{FASTD} gt "") && ($fields{FASTD} =~ /\Akey\s*"[0-9a-f]{64}";\Z/m) && ($fastd = $fields{FASTD}) && ($fastd =~ s/key\s*"/key "/g);
+ # deactivated 2014-06-05 wonka
+ #(defined($fields{FASTD})) && ($fields{FASTD} gt "") && ($fields{FASTD} =~ /\Akey\s*"[0-9a-f]{64}";\Z/m) && ($fastd = $fields{FASTD}) && ($fastd =~ s/key\s*"/key "/g);
if (defined($fastd)) {
$fn = "/etc/fastd/ffki/peers/$name";
@@ -113,4 +114,3 @@ close($f);
rename "/opt/ffmap/aliases.json.new", "/opt/ffmap/aliases.json";
__END__
-