Darryl Gibson wrote:
>
> Robert Engel wrote:
> >
> > That's about right! With pine, if you put a pipe at the end of the config
> > file line for sig file, pine will execute the file as a script/program and
> > include the output as the sig.
>
> I have a sinking feeling this won't work in Netscape Messenger. Never
> the less, I'll put it on my hope to do list.
NS only seems to take a static file. The way around this is to have cron fire
up up a script to replace your .signature file on a regular basis...
Using Robert's example, I just created (written to avoid NS' "> 4 lines"
dialog):
/home/pfortin/mysignature:
echo "-- Pierre"
echo
echo "Linux: Because rebooting is for hardware upgrades: "
uptime
echo -n "Last reboot reason: "
cat /home/pfortin/last_reboot_reason
/home/pfortin/last_reboot_reason:
Installed new BackUPS power supply.
chmod u+x mysignature
Then, via webmin (http://localhost:10000), I created the cron task setting the
command as:
/home/pfortin/mysignature > /home/pfortin/.signature
> > An example... mine!
[snip]
-- Pierre
Linux: Because rebooting is for hardware upgrades:
3:33pm up 5 days, 5:32, 2 users, load average: 0.02, 0.10, 0.08
Last reboot reason: Installed new BackUPS power supply.