Annotation of coherent/a/usr/local/dist/splitdist, revision 1.1.1.1

1.1       root        1: : splitdist 4/19/90
                      2: : Split directory /distrib into /distrib1 and /distrib2.
                      3: : /distrib1 contains files needed on a boot disk,
                      4: : /distrib2 contains the rest.
                      5: : Run as root.
                      6: 
                      7: : Make /distrib1, /distrib3 and their subdirectories.
                      8: rm -r /ship/distrib1/* /ship/distrib2/* /ship/distrib3/*
                      9: /bin/mkdir /distrib1/bin /distrib3
                     10: chmog 777 bin bin /ship/distrib1 /ship/distrib3 /ship/distrib2
                     11: cd /ship/distrib1
                     12: /bin/mkdir -r `cat /usr/adm/distrib/Dirs.boot`
                     13: setperm `cat /usr/adm/distrib/Dirs.boot`
                     14: cd /ship/distrib3
                     15: /bin/mkdir -r `cat /usr/adm/distrib/Dirs.last`
                     16: setperm `cat /usr/adm/distrib/Dirs.last`
                     17: 
                     18: : Copy /distrib to /distrib2 and move boot stuff to /distrib1.
                     19: : Move files for last disk to /distrib3.
                     20: 
                     21: cpdir -ad /interim /ship/distrib2
                     22: cd /ship/distrib2
                     23: for i in dev `cat /usr/adm/distrib/Files.boot.$1`
                     24: do
                     25:        mv /ship/distrib2/$i /ship/distrib1/$i
                     26: done
                     27: for i in `cat /usr/adm/distrib/Files.last.$1`
                     28: do
                     29:        mv /ship/distrib2/$i /ship/distrib3/$i
                     30: done

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.