[RFC PATCH 6/9] bsp/default: remove showmacs.sh

Tim Niemeyer tim.niemeyer at mastersword.de
So Okt 25 16:26:25 CET 2015


This script is obsolete by the iproute2 bridge tool.

Signed-off-by: Tim Niemeyer <tim.niemeyer at mastersword.de>
---

 bsp/default/root_file_system/etc/showmacs.sh | 25 -------------------------
 1 file changed, 25 deletions(-)
 delete mode 100755 bsp/default/root_file_system/etc/showmacs.sh

diff --git a/bsp/default/root_file_system/etc/showmacs.sh b/bsp/default/root_file_system/etc/showmacs.sh
deleted file mode 100755
index 9263420..0000000
--- a/bsp/default/root_file_system/etc/showmacs.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# SHOWMACS need br-ctl! NO BUSYBOX!
-#
-# Version 0.2
-#
-# by Tim Niemeyer (reddog at mastersword.de)
-
-# 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 3 of the License, 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.
-#
-
-DEV=$1
-
-SEDDEV=`brctl showstp $DEV | egrep '\([0-9]\)' | sed -e "s/(//;s/)//" | awk '{ print "s/^  "$2"/"$1"/;" }'`
-SEDMAC=`cat /etc/bat-hosts | sed -e "s/^/s\//;s/$/\/;/;s/ /\//"`
-
-brctl showmacs $DEV | sed -e "$SEDMAC" | sed -e "$SEDDEV"
\ No newline at end of file
-- 
2.1.4




Mehr Informationen über die Mailingliste franken-dev