Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 10:42:36 +0000
From:      Pietro Cerutti <pietro.cerutti@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: referencing in files
Message-ID:  <e572718c050302024230261b6a@mail.gmail.com>
In-Reply-To: <20050302102921.GA92791@xor.obsecurity.org>
References:  <20050302075746.GA60502@xor.obsecurity.org> <20050302094308.007AE1FFC6C@overport.cybertek.co.za> <20050302102921.GA92791@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jarrod,
what I think you could do is to make a script to automatize the whole procedure.
This script would update both the "text file" and the /etc/motd.

Since /etc/motd is a plain text file and not a shell script or
something like that, you cannot do what you will with a command
directly in it.


On Wed, 2 Mar 2005 02:29:21 -0800, Kris Kennaway <kris@obsecurity.org> wrote:
> On Wed, Mar 02, 2005 at 11:43:13AM +0200, Jarrod - Cybertek wrote:
> > First, thanks. What I just wanted to try out is to have my /etc/motd updated
> > automatically from a changing value in another text file. So that way I
> > wouldn't have to update both every time. No way for that? Thanks.
> 
> You keep going around in circles saying the same thing.  Be specific.
> What, *precisely* do you want your motd to do?
> 
> Kris
> 
> 


-- 
Pietro "Piter" Cerutti
<pietro.cerutti@gmail.com>
<piter@beansidhe.ch>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c050302024230261b6a>