Commit 19d9c18a authored by Kirk Webb's avatar Kirk Webb

Did a few things to update the tmcd install targets, and scripts for RHL73.

* New modules.conf that works with 7.1 and 7.3 (old one broke on 7.3)
  - Uses module aliases, instead of probe directives

* Updated sfs-install target for linux startup cmds
  - RCDIR variable was used inconsistently
  - reorged rc.d startup script links to not start sfs by default
  - still need to revert back to the 6.0 startup script in the cvs repo

* Updated common directory "other" target to include slothd
parent 75057916
......@@ -42,6 +42,7 @@ remote-install: path-install remote-script-install
other-install:
(cd ../../os; $(MAKE) client-install)
(cd ../../event; $(MAKE) client-install)
(cd ../../sensors/slothd; $(MAKE) client-install)
dir-install:
$(INSTALL) -m 755 -o root -g wheel -d $(ETCDIR)
......
......@@ -119,11 +119,9 @@ script-install: dir-install
sfs-install:
$(INSTALL) -m 755 -o root -g wheel -d $(DESTDIR)/etc/sfs
$(INSTALL) -m 755 $(SRCDIR)/sfs.sh $(RC_DIR)/init.d/sfs
-ln -s $(RC_DIR)/init.d/nfs $(RC_DIR)/rc3.d/S20nfs
-ln -s $(RC_DIR)/init.d/sfs $(RC_DIR)/rc3.d/S50sfs
-ln -s $(RC_DIR)/init.d/sfs $(RC_DIR)/rc3.d/K19sfs
-ln -s $(RC_DIR)/init.d/sfs $(RC_DIR)/rc6.d/K19sfs
$(INSTALL) -m 755 $(SRCDIR)/sfs.sh $(RCDIR)/init.d/sfs
-ln -s $(RCDIR)/init.d/nfs $(RCDIR)/rc3.d/S20nfs
-ln -s $(RCDIR)/init.d/sfs $(RCDIR)/rc6.d/K19sfs
$(INSTALL) -m 644 $(SRCDIR)/exports $(ETCDIR)/exports
$(INSTALL) -m 644 $(SRCDIR)/sfsrwsd_config $(ETCDIR)/sfs/sfsrwsd_config
$(INSTALL) -m 644 $(SRCDIR)/sfssd_config $(ETCDIR)/sfs/sfssd_config
......
define NT `/usr/local/etc/emulab/nodetype`
if $NT == "pc2000"
probe eth0 3c59x
probe eth1 eepro100
probe eth2 eepro100
alias eth0 3c59x
alias eth1 eepro100
alias eth2 eepro100
elseif $NT == "pc1500"
probe eth0 3c59x
probe eth1 tulip
probe eth2 tulip
probe eth3 tulip
probe eth4 tulip
alias eth0 3c59x
alias eth1 tulip
alias eth2 tulip
alias eth3 tulip
alias eth4 tulip
elseif $NT == "pc850"
probe eth0 eepro100
probe eth1 eepro100
probe eth2 eepro100
probe eth3 eepro100
probe eth4 eepro100
alias eth0 eepro100
alias eth1 eepro100
alias eth2 eepro100
alias eth3 eepro100
alias eth4 eepro100
elseif $NT == "pc600"
probe eth0 eepro100
probe eth1 eepro100
probe eth2 eepro100
probe eth3 eepro100
probe eth4 eepro100
alias eth0 eepro100
alias eth1 eepro100
alias eth2 eepro100
alias eth3 eepro100
alias eth4 eepro100
elseif $NT == "pcL440GX"
probe eth0 eepro100
probe eth1 eepro100
probe eth2 eepro100
alias eth0 eepro100
alias eth1 eepro100
alias eth2 eepro100
elseif $NT == "pc300"
probe eth0 eepro100
probe eth1 eepro100
probe eth2 eepro100
probe eth3 eepro100
probe eth4 3c59x
alias eth0 eepro100
alias eth1 eepro100
alias eth2 eepro100
alias eth3 eepro100
alias eth4 3c59x
else
probe eth0 eepro100 3c59x
probe eth1 eepro100 tulip
probe eth2 eepro100 tulip
probe eth3 eepro100 tulip
probe eth4 eepro100 tulip
alias eth0 feth0
alias eth1 feth1
alias eth2 feth2
alias eth3 feth3
alias eth4 feth4
probe feth0 eepro100 3c59x
probe feth1 eepro100 tulip
probe feth2 eepro100 tulip
probe feth3 eepro100 tulip
probe feth4 eepro100 tulip
endif
alias char-major-10-200 tun
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