File: postinst

package info (click to toggle)
bridgex 0.25
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 80 kB
  • ctags: 156
  • sloc: ansic: 522; makefile: 40; sh: 28
file content (15 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e
echo ""
echo "BEWARE : Please know what you are doing here. Running"
echo "the bridge without knowing what is going on on your Network and this"
echo "Machine might spell desaster for the people hooked up to those networks"
echo "and might cause trouble for this machine connecting to the networks!"
echo ""
echo "You must have your kernel compiled for bridging operations!"
echo ""
echo "The DEFAULT CONFIGURATION is to bridge between eth0 and eth1."
echo ""
echo "Bridging is enabled on bootup. Edit /etc/init.d/bridgex to change it."