From: Tomi Manninen OH2BNS (gplvbmz.iost@200-jota.elwico.pl)
Date: Thu Apr 12 2001 - 12:00:28 EEST
On Wed, 11 Apr 2001, g3orh wrote:
> Can someone explain how I ensure my "saved" nodeslist gets
> loaded on re-boot please. Man nodesave doesn't fully explain this.
>
> I save nodes to a file in a convenient directory (/etc/ax25) called nodes
> and this produces *nodes in that directory but since there seems to be a
> symbolic link with this file I assumed it would autoload on reboot. It
> doesn't ! What nrparms command should I insert into my autoload file to
> ensure this file gets read and loaded at boot please ?
Just to recap what has already been said by others on this list: Nodesave
produces an executable file with all the needed nrparms commands in it.
You load it on bootup typically by running it:
/etc/ax25/nodes
or by "sourcing" it:
. /etc/ax25/nodes
or
source /etc/ax25/nodes
And the best way to keep the saved node data reasonably recent in all
cases is to update it periodically from cron. I do it hourly by putting a
file named "savenodes" in /etc/cron.hourly/ :
#!/bin/sh
/usr/sbin/nodesave /etc/ax25/nodes
(remember to make that executable: chmod +x /etc/cron.hourly/savenodes)
-- Tomi Manninen Internet: hfbj.aezwzi@hih.dk OH2BNS AX.25: sfh@webraska.com KP20ME04 Amprnet: terhi.victor@logonet.com- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to terhi.victor@logonet.com
This archive was generated by hypermail 2b30 : Thu Apr 12 2001 - 12:01:36 EEST