From d3dd56d9bbab7c491c6f60e5bebecbfd6a77f9e7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 Apr 2007 19:52:48 +0200 Subject: [PATCH] Remove some nets from MBD. --- make-all-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-all-config.sh b/make-all-config.sh index 276a4d4..1db0af2 100755 --- a/make-all-config.sh +++ b/make-all-config.sh @@ -11,7 +11,7 @@ cat static-switches.txt >> switches.txt scp mbd-ports *-config sesse@f1:/tftpboot/portcfg/ # regenerate the mbd netlist -(echo '# Autogenerated. Do not touch!' ; echo "package Config;"; echo 'our @networks = (' ; cut -d" " -f1-2 switches.txt | perl -e 'while (<>) { chomp; my ($net,$mask) = split / /; print "\t\"$net/$mask\",\n"; }' ; echo ');' ; echo '1;') > mbd/nets.pl +(echo '# Autogenerated. Do not touch!' ; echo "package Config;"; echo 'our @networks = (' ; cut -d" " -f1-2 switches.txt | grep -vE '87\.76\.(130|131|216)\.0' | perl -e 'while (<>) { chomp; my ($net,$mask) = split / /; print "\t\"$net/$mask\",\n"; }' ; echo ');' ; echo '1;') > mbd/nets.pl perl web/make-switches.pl > switches.sql scp switches.sql root@space: -- 2.39.2