Changeset f778038089aad3e7619a36a2a591bf0549f7d2d1 for fedkit
- Timestamp:
- 05/19/08 22:26:39 (4 years ago)
- Children:
- 7c3008e112b5820b5d22d88e47ce4ef7af03084d
- Parents:
- 96d52798b757e9497bc2c1318328d02c0677e11c
- git-committer:
- Ted Faber <faber@isi.edu> / 2008-05-20T05:26:39Z+0000
- Location:
- fedkit
- Files:
-
- 2 modified
-
federate.sh (modified) (1 diff)
-
make_hosts (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.sh
rf3691ff rf778038 113 113 # 114 114 # Unmount stuff before messing with accounts 115 # Linux doesn't believe in -A so run umount without it if the first fails116 115 # 117 116 118 umount -A -f -t nfs,smbfs,cifs || umount -a -f -t nfs,smbfs,cifs 117 case `uname` in 118 "FreeBSD") 119 umount -A -f -t nfs,smbfs,cifs 120 ;; 121 "Linux") 122 # Linux doesn't believe in -A so pull the filesystems out of 123 # /etc/mtab and umount them individually 124 for f in `$PERL -nae 'print "$F[1]\n" if $F[2] =~ /(nfs|cifs|smbfs)/;' /etc/mtab`; do 125 umount -f $f 126 done 127 ;; 128 esac 119 129 120 130 # -
fedkit/make_hosts
re06b224 rf778038 9 9 10 10 11 # XXX Danger, hack ahead. Apparently our FC6-SMB image and emulab disagree 12 # about where gated lives. This will alias it. 13 if [ ! -x /usr/sbin/gated ] ; then 14 if [ -x /sbin/gated ] ; then 15 ln /sbin/gated /usr/sbin/gated 16 fi 17 fi 18 /usr/local/etc/emulab/rc/rc.route 19 11 20 if [ ! -z "$2" ]; then 12 21 su -l "$2" -c "$3"
