- Timestamp:
- May 19, 2008 10:26:39 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 7c3008e
- Parents:
- 96d5279
- Location:
- fedkit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.sh
r96d5279 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
r96d5279 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"
Note: See TracChangeset
for help on using the changeset viewer.