게시물 42건
   
패키지 업데이트 스크립트
글쓴이 : theko 날짜 : 2015-03-25 (수) 16:22 조회 : 3444

check="n"
echo -n "6.RHEL Security Update  ? [y/n] Default [n] : "
read check
if [ $check = "y" ];then
cat << EOF > /etc/yum.repos.d/update.repo
[Security_repo]
name=Security_repo
baseurl=file:///tmp/security_repo
gpgcheck=0
enable=1
EOF
yum clean all
yum update bash glibc gnutls ntp openssl -y
fi
sleep 2
rm -f /etc/yum.repos.d/update.repo
yum clean all
clear

check="n"
echo -n "7. System Rebooting ? [y/n] Default [n] : "
read check
if [ $check = "y" ];then
        umount /dev/sr0
        /bin/sync
        /bin/sync
        init 6
fi


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com