删除Solaris patch cluster的脚本

上一篇 / 下一篇  2008-10-10 14:03:56 / 个人分类:solaris

#!/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

TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2009-01-09  
    123
45678910
11121314151617
18192021222324
25262728293031

数据统计

  • 访问量: 3575
  • 日志数: 68
  • 建立时间: 2007-12-19
  • 更新时间: 2009-01-09

RSS订阅

Open Toolbar