File: ltsp-qemu-bridge-ifup

package info (click to toggle)
ltsp 5.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,932 kB
  • ctags: 271
  • sloc: sh: 5,267; ansic: 1,048; perl: 225; python: 211; lex: 152; makefile: 112; yacc: 59
file content (8 lines) | stat: -rwxr-xr-x 226 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/bin/sh
# Read options from /etc/ltsp/vmclient
[ -f /etc/ltsp/vmclient ] && . /etc/ltsp/vmclient

export PATH=/sbin:/usr/sbin:$PATH
[ -z "$BRIDGEDEV" ] && BRIDGEDEV=ltspbr0
ifconfig $1 0.0.0.0 up
brctl addif ${BRIDGEDEV} $1