Linux & Unix  |  2004/09/06 01:44
09.05.02

최근 버전은 아래의 1번, 2번 항목만 수행하면 된다.

04.09.06

1. 패키지 인스톨

#apt-get install linuxlogo

2. 파일 백업

#mv /etc/motd /etc/motd.old //기존의 motd파일을 백업한다.
#/usr/bin/linux_logo > /etc/motd //linuxlogo를 motd에 넣는다.

3. /etc/init.d/bootmisc.sh를 변경

기존 부분

#
# Update /etc/motd.
#
if [ "$EDITMOTD" != no ]
then
uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
mv /etc/motd.tmp / etc/motd
fi


수정

#
# Update /etc/motd.
#
if [ "$EDITMOTD" != no ]
then
if [ -x /usr/bin/linux_logo ]
then
/usr/bin/linux_logo > /etc/motd.tmp
sed 1,18d /etc/motd >> /etc/motd.tmp
else
uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
fi
mv /etc/motd.tmp /etc/motd
fi


4. #/etc/init.d/bootmisc.sh // 스크립트를 실행

5. local에서 reboot

주의 사항 : reboot 전까진 remote 에서 접속이 차단되어 버림. 반드시 reboot.
2004/09/06 01:44 2004/09/06 01:44
Trackback Address : http://metalpen.net/blog/trackback/56

  :  Name

  :  Password

  :  Homepage


    SECRET

<< PREV    1  ...  474   475   476   477   478   479   480   481   482  ...  518    NEXT >>
Skin designed by 超.