Fix udev script for IMM USB nic, also remove xcat-cmdline setup of usb nic (since udev handles it for us)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-08-02 20:08:08 +00:00
parent 46c06ba7ca
commit 58139178e8
2 changed files with 2 additions and 6 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
ip link set usb0 up
ip addr add dev usb0 169.254.95.120/16
/sbin/ip link set usb0 up
/sbin/ip addr add dev usb0 169.254.95.120/16

View File

@ -102,10 +102,6 @@ if dmidecode|grep IPMI > /dev/null; then
modprobe ipmi_si
modprobe ipmi_devintf
fi
if lsusb -d 04b3:4010 > /dev/null; then
modprobe cdc_ether
/sbin/setupimmnic
fi
if [ "$destiny" = "discover" ]; then #skip a query to xCAT when /proc/cmdline will do
/bin/dodiscovery
fi