Commit 98c0e81c authored by Robert Ricci's avatar Robert Ricci
Browse files

Add support for pc1500 (the Kentucky Dells)

parent abad9446
......@@ -58,6 +58,7 @@ script-install: dir-install
$(INSTALL) -m 644 $(SRCDIR)/pump.conf /etc/pump.conf
$(INSTALL) -m 755 $(SRCDIR)/cpuspeed.awk $(INSTALL_DIR)/cpuspeed.awk
$(INSTALL) -m 755 $(SRCDIR)/nodetype $(INSTALL_DIR)/nodetype
$(INSTALL) -m 755 $(SRCDIR)/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0
$(INSTALL) -m 755 $(SRCDIR)/ifcfg-eth2 /etc/sysconfig/network-scripts/ifcfg-eth2
$(INSTALL) -m 755 $(SRCDIR)/ifcfg-eth4 /etc/sysconfig/network-scripts/ifcfg-eth4
#!/usr/bin/awk -f
/^cpu MHz.*1[45][0-9][0-9]\.[0-9]+$/ {
print "1500";
next
}
/^cpu MHz.*8[0-9][0-9]\.[0-9]+$/ {
print "850";
next
......
DEVICE="eth0"
if [ "`/etc/rc.d/testbed/nodetype`" = 'pc1500' ]; then
ONBOOT="yes"
BOOTPROTO="dhcp"
else
ONBOOT="no"
fi
IPADDR=""
NETMASK=""
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment