install.sh: Copy Wireshark dissector to global plugin dir

This commit is contained in:
Brandon Heller
2012-02-10 14:59:39 -08:00
committed by Bob Lantz
parent 60b5864e1d
commit b80f4aeb85
+8
View File
@@ -153,6 +153,14 @@ function of {
make make
sudo make install sudo make install
# The OpenFlow wireshark plugin does not install to the correct dir.
# The correct way would be to fix the install script.
# For now, just copy it to the global WS plugin dir.
# Tested on Ubuntu 11.04.
if [ -e /var/packet-openflow.so ]; then
cp /var/packet-openflow.so /usr/lib/wireshark/libwireshark0/plugins
fi
# Copy coloring rules: OF is white-on-blue: # Copy coloring rules: OF is white-on-blue:
mkdir -p ~/.wireshark mkdir -p ~/.wireshark
cp ~/mininet/util/colorfilters ~/.wireshark cp ~/mininet/util/colorfilters ~/.wireshark