From: Robert Bowles <rbowles@op.net>
To: axp-list@redhat.com
Subject: Re: Changing init files
Date: Sat, 27 Mar 1999 15:47:09 -0500 [thread overview]
Message-ID: <19990327154709.E28623@op.net> (raw)
In-Reply-To: <17477F52A70FD211B34A00805F15759203472F7F@pecos.mis.earthlink.net>; from Durham, Kenneth J on Sat, Mar 27, 1999 at 11:52:54AM -0800
On Sat, Mar 27, 1999 at 11:52:54AM -0800, Durham, Kenneth J wrote:
>
> do you know how i could keep from rc.local recreating the file so that it
> will stay the way that i have modified it to?
1. Editing '/etc/rc.local' works, but only until you upgrade initscripts.
2. rc.local only squashes '/etc/issue' if '/etc/redhat-release' exists.
3. '/etc/redhat-release' comes from the redhat-release package, which
only contains this file.
If you want to preserve your '/etc/issue' _without_ modifying any
"system executables", remove the offending redhat-release package
by doing a "rpm -e redhat-release".
No "normal" RH packages depend on redhat-release, so its safe to remove.
The one exception I've come across that requires it is KDE.
If you need redhat-release in your package database, you can
install the package _without_ the files by doing a:
'rpm -U --justdb [filename]'
>
> -----Original Message-----
> From: Cornelius Creedon [mailto:neil@box1.staller.sunysb.edu]
> Sent: Saturday, March 27, 1999 11:46 AM
> To: 'redhat alpha mailing list'
> Subject: Re: Changing init files
>
>
>
> indeed. /etc/rc.d/rc.local creates the file /etc/issue
>
> -cc
>
> On Sat, 27 Mar 1999, Durham, Kenneth J wrote:
>
> > I was trying to change the etc/issue file. what people see now is
> > Red Hat Linux release 5.2 (Apollo)
> > Kernel 2.0.35 on an alpha
> > i wanted to change the apollo to my servername. I do that but as soon as
> i
> > do a reboot it goes back to normal. can someone help me to configure this
> to
> > stay. Is it something in the boot up that changes it back to its original
> > form? thank you for all your help
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
> >
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
void rbowles(int sig)
{
signal(sig, rbowles);
raise(sig);
}
next prev parent reply other threads:[~1999-03-27 20:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-27 19:52 Changing init files Durham, Kenneth J
1999-03-27 20:01 ` Jeff DeMaagd
1999-03-27 20:01 ` Paul Jakma
1999-03-27 20:08 ` mgraffam
1999-03-27 20:47 ` Robert Bowles [this message]
1999-04-05 4:05 ` Robert Bowles
-- strict thread matches above, loose matches on Subject: below --
1999-03-27 20:02 Durham, Kenneth J
1999-03-27 19:42 Durham, Kenneth J
1999-03-27 19:45 ` Cornelius Creedon
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox