Commit | Line | Data |
---|---|---|
f1feb96c C |
1 | #! /bin/sh -x |
2 | cd ${DESTDIR}/usr/hosts | |
3 | # | |
4 | # We want to save ourselves while cleaning up. The funny sequence is to | |
5 | # minimize the window where the machine could crash and leave MAKEHOSTS | |
6 | # misplaced. | |
7 | # | |
8 | mv MAKEHOSTS .MAKEHOSTS | |
9 | /bin/rm -f M* | |
10 | mv .MAKEHOSTS MAKEHOSTS | |
11 | /bin/rm -f [A-LN-Za-z]* | |
12 | for i in `egrep '^128\.32' ${DESTDIR}/etc/hosts | awk '$2 !~ /^ucb|\.berkeley\.edu$/ {print $2} $3 !~ /^ucb|\.berkeley\.edu$|^$/ {print $3} $4 !~ /^ucb|\.berkeley\.edu$|^$/ {print $4}'`; | |
13 | do | |
14 | ln -s /usr/ucb/rsh $i | |
15 | done | |
16 | # | |
17 | # Special entries that don't get generated above | |
18 | # | |
19 | ln -s /usr/ucb/rsh ucbvax | |
20 | ln -s /usr/ucb/rsh ucbarpa |