summaryrefslogtreecommitdiffstats
path: root/ax25/ax25d.conf.in
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-05-25 23:17:55 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-26 08:24:34 +0200
commit1905bd6c7e1123adccfd24803fea67227228d38c (patch)
tree4485963e814a2fd73495f7d4eb6121e695b4bf8c /ax25/ax25d.conf.in
parentf3d21897916d7da89fe5936993351504e9f0bfc6 (diff)
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 <ralf@linux-mips.org>
Diffstat (limited to 'ax25/ax25d.conf.in')
-rw-r--r--ax25/ax25d.conf.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/ax25/ax25d.conf.in b/ax25/ax25d.conf.in
new file mode 100644
index 0000000..13b1a0f
--- /dev/null
+++ b/ax25/ax25d.conf.in
@@ -0,0 +1,49 @@
+# @SYSCONFDIR@/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 @SBINDIR@/ttylinkd ttylinkd
+#parameters_extAX25 VC-wait-login VC-disc-on-linkfailure-msg VC-log-connections
+#
+#
+[OH2BNS-2 VIA 1]
+NOCALL * * * * * * L
+default * * * * * * - root @SBINDIR@ node
+#
+#
+[OH2BNS VIA 2]
+NOCALL * * * * * * L
+default * * * * * * - root @SBINDIR@/ttylinkd ttylinkd
+#
+[OH2BNS-2 VIA 2]
+NOCALL * * * * * * L
+default * * * * * * - root @SBINDIR@ node
+#
+[OH2BNS-3 VIA 2]
+NOCALL * * * * * * L
+default * * * * * * - root @SBINDIR@/axwrapper axwrapper /usr/bin/finger finger
+#
+#[OH2BNS-9]
+#NOCALL * * * * * * L
+#default * * * * * * - root @SBINDIR@ node
+#
+# NET/ROM Ports begin with a '<'.
+#
+#<netrom>
+#NOCALL * * * * * * L
+#default * * * * * * - root @SBINDIR@/ttylinkd ttylinkd
+#
+<netrom>
+NOCALL * * * * * * L
+default * * * * * * - root @SBINDIR@ node
+#
+#<netrom>
+#NOCALL * * * * * * L
+#default * * * * * * - root @SBINDIR@ node
+#