← Back to team overview

sslug-teknik team mailing list archive

Re: Issue.net

 

On Fri, 4 Jun 1999, Allan Christiansen wrote:

> Hej,
> 
> 	Hvordan får man redhat til at lade issue.net være. Jeg havde lige rettet
> den til en tekst jeg mente var ok. og så skulle jeg af en angrund reboote
> makinen og så ser jeg til min skræk at redhat har rettet den tilbage til
> hvad der stod før.

Check allernedest i /etc/rc.d/rc.local:

if [ -f /etc/redhat-release ]; then
    R=$(cat /etc/redhat-release)

    arch=$(uname -m)
    a="a"
    case "_$arch" in
            _a*) a="an";;
            _i*) a="an";;
    esac

    # This will overwrite /etc/issue at every boot.  So, make any changes
you
    # want to make to /etc/issue here or you will lose them when you
reboot.
    #echo "" > /etc/issue
    #echo "$R" >> /etc/issue
    #echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue

    #cp -f /etc/issue /etc/issue.net
    #echo >> /etc/issue
fi


Mads


-- 
Mads Bondo Dydensborg.                               madsdyd@xxxxxxxxxxxx
Good luck to all you optimists out there who think Microsoft can deliver 35
million lines of quality code on which you can operate your business.
                                        - John C. Dvorak, zdnet.



References