From 1905bd6c7e1123adccfd24803fea67227228d38c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 25 May 2015 23:17:55 +0200 Subject: Substitute proper paths in ax25d.conf. Depending on the prefix configured, the default ax25d.conf file may contain incorrects paths. Generate config file using the correct sbin dir. Assume node which is not part of ax25-tools to be installed with the same prefix. Don't probe - chances are the sysadmin of a node system is going to install it after ax25-tools so we'd likely have to guess which never is a good thing. Signed-off-by: Ralf Baechle --- ax25/ax25d.conf | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'ax25/ax25d.conf') diff --git a/ax25/ax25d.conf b/ax25/ax25d.conf index 36ec357..890a048 100644 --- a/ax25/ax25d.conf +++ b/ax25/ax25d.conf @@ -1,9 +1,11 @@ -# /etc/ax25/ax25d.conf +# /usr/local/etc/ax25/ax25d.conf # # ax25d Configuration File. # # AX.25 Ports begin with a '['. # +# Please note that the programs node and finger are not part of ax25-tools. +# [OH2BNS VIA 1] NOCALL * * * * * * L default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd @@ -12,7 +14,7 @@ default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # [OH2BNS-2 VIA 1] NOCALL * * * * * * L -default * * * * * * - root /usr/sbin/node node +default * * * * * * - root /usr/local/sbin/node node # # [OH2BNS VIA 2] @@ -21,7 +23,7 @@ default * * * * * * - root /usr/local/sbin/ttylinkd ttylinkd # [OH2BNS-2 VIA 2] NOCALL * * * * * * L -default * * * * * * - root /usr/sbin/node node +default * * * * * * - root /usr/local/sbin/node node # [OH2BNS-3 VIA 2] NOCALL * * * * * * L @@ -29,7 +31,7 @@ default * * * * * * - root /usr/local/sbin/axwrapper axwrapper /usr/bin/finge # #[OH2BNS-9] #NOCALL * * * * * * L -#default * * * * * * - root /usr/sbin/node node +#default * * * * * * - root /usr/local/sbin/node node # # NET/ROM Ports begin with a '<'. # @@ -39,9 +41,9 @@ default * * * * * * - root /usr/local/sbin/axwrapper axwrapper /usr/bin/finge # NOCALL * * * * * * L -default * * * * * * - root /usr/sbin/node node +default * * * * * * - root /usr/local/sbin/node node # # #NOCALL * * * * * * L -#default * * * * * * - root /usr/sbin/node node +#default * * * * * * - root /usr/local/sbin/node node # -- cgit v1.2.3