home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1999 February / VPR9902B.ISO / Upgrade / UpgradeE / upgrade2.sh < prev   
Linux/UNIX/POSIX Shell Script  |  1998-11-11  |  393b  |  17 lines

  1. #!/bin/bash
  2.  
  3. mkdir -p /usr/lib/rpm
  4. ln -s ../rpmrc /usr/lib/rpm/rpmrc
  5. /bin/more upgrade-doc2.txt
  6. echo -n "ENTER to continue, CTRL-C to cancel, CTRL-Z for shell escape: "
  7. read ANSWER
  8. /usr/sbin/turbopkg
  9. clear
  10. /bin/more upgrade-doc3.txt
  11. echo "The system will now shut down."
  12. echo "When the system is halted, you may reboot."
  13. echo -n "Press ENTER to continue: "
  14. read ANSWER2
  15. /sbin/shutdown -h now
  16.  
  17.