~kobe24-lixiang/ubiquity-ubuntukylin/trunk

« back to all changes in this revision

Viewing changes to d-i/source/netcfg/test/mock_paths/test_nc_v6_interface_configured_simple/ifconfig

  • Committer: kobe
  • Date: 2014-08-22 06:37:21 UTC
  • Revision ID: xiangli@ubuntukylin.com-20140822063721-p145o500i2y7o48h
first version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
if [ "$1" = "eth0" ]; then
 
6
        cat <<EOF
 
7
eth0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 
8
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
 
9
        ether 2:44:66:88:aa:cc
 
10
        inet6 fe80::44:66ff:fe88:aacc%re0 prefixlen 64 scopeid 0x1 
 
11
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
 
12
        inet6 2001:db8::44:66ff:fe88:aacc prefixlen 64 autoconf 
 
13
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
 
14
        media: Ethernet autoselect (100baseTX <full-duplex>)
 
15
        status: active
 
16
EOF
 
17
fi