Martin Bochnig wrote: > >#!/bin/sh > >echo "" >echo "Your NICs should already be DHCP - configured now." >echo "Otherwise quit via ^C and run /bin/net-up first." >echo "" >echo "Continuing in 5 seconds ... " >echo "" >sleep 5 > >##/bin/net-up > >mkdir /tmp/readwrite/libs.tmp >cd /tmp/readwrite/libs.tmp > >wget http://patches.sun.com/all_unsigned/119964-07.zip > >echo "" >echo "Extracting ..." >echo "" >unzip 119964-07.zip > >echo "" >echo "Copying libs to /tmp/readwrite/lib ..." >echo "" >cp -R */SUNWlibC*/reloc/usr/lib /tmp/readwrite > >echo "" >echo "DONE." >echo "" > >
Oh, I'm wasting memory here. It is only a single patch on x86/x64, rather than two separate patches like on sparc (one for 32bit-sparc, another for sparcv9). I therefore can replace cp -R */SUNWlibC*/reloc/usr/lib /tmp/readwrite with mv */SUNWlibC*/reloc/usr/lib /tmp/readwrite on x64/x86. I mean, the fact that this script was concepted as a dumb one, does not mean, it should waste resources unnecessarily. -- Martin Bochnig _______________________________________________ opensolaris-discuss mailing list [email protected]
