#!/bin/bash if [ ! -f /root/wlsutils-installed ] && [ "${1}" = "" ]; then cp -pf allfiles /usr/local/bin/allfiles cp -pf checkprovides /usr/local/bin/checkprovides if [ -f /etc/bashrc ]; then cat bashrc.more >>/etc/bashrc elif [ -f /etc/profile ]; then cat bashrc.more >>/etc/profile else echo Neither /etc/bashrc nor /etc/profile exists here. fi cp -pf hack /bin/hack cp -pf ju /usr/bin/ju cp -pf named2hosts /usr/local/bin/named2hosts cp -pf onevirt /sbin/onevirt cp -pf randomsig /usr/local/bin/randomsig cp -pf sync-all /usr/local/bin/sync-all cp -pf twovirt /sbin/twovirt touch /root/wlsutils-installed else echo wlsutils already installed. Use \"${0} force\" to re-install. fi