#!/bin/sh # Apply recommended patches # we defer this until the next reboot cat >> ${BASE}/etc/rcS.d/S99atboot <<-'EOT' echo "Applying recommended patches. Please Wait" mkdir /mnt/patches || echo "mkdir failed" mount marl:/tftpboot/sun/jumpstart/patches /mnt/patches || echo "mount failed" cd /mnt/patches || echo "cd failed" ./install_cluster -q cd / umount /mnt/patches || echo "umount failed" rmdir /mnt/patches || echo "rmdir failed" REBOOT=yes EOT