ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 删除Solaris patch cluster的脚本

删除Solaris patch cluster的脚本

原创 Linux操作系统 作者:cqubityj 时间:2008-10-10 14:03:56 0 删除 编辑
#!/bin/sh
PATH=/usr/bin:/usr/sbin ; export PATH
#
# Change this to where your patches are located
#
cd /your/patchpath
#
# Reverse the order of the patch_order file
#
tail -r patch_order > remove_order
#
# Loop through and remove each patch listed
#
for PATCH in `cat reverse_order`
  do
       patchrm ${PATCH}
  done
#
# Reboot
#
init 6
# END

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/228190/viewspace-469885/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: how to fix DCO BADLOG
请登录后发表评论 登录
全部评论

注册时间:2007-12-19

  • 博文量
    133
  • 访问量
    454948