Compare commits

...

2 Commits

Author SHA1 Message Date
6a9e6f3c0e clean up more lint 2023-04-24 14:35:42 -05:00
3b4339d9ff fix ax25d config example 2023-04-24 14:35:32 -05:00
2 changed files with 5 additions and 5 deletions

View File

@ -41,12 +41,12 @@ Assuming you have `ax25d` working on your system, add something like the followi
``` ```
[KI5QKX-10 via vhf0] [KI5QKX-10 via vhf0]
default * * * * * * * root /usr/local/bin/rsbbs rsbbs -s %S default * * * * * * * root /usr/local/bin/rsbbs rsbbs -s %U
``` ```
Notes: Notes:
- The installation path may vary on your system. - The installation path may vary on your system.
- Be sure to specify the `-s %S` parameters; this passes the ax.25 caller's callsign to the `rsbbs` application. - Be sure to specify the `-s %U` parameters; this passes the ax.25 caller's callsign to the `rsbbs` application.
See the ax25d man page for more details. See the ax25d man page for more details.

View File

@ -40,12 +40,12 @@ def main():
] ]
for arg in args_list: for arg in args_list:
sysv_parser.add_argument( sysv_parser.add_argument(
arg[0], arg[1], action=arg[2], default=arg[3], dest=arg[4], arg[0], arg[1], action=arg[2], default=arg[3], dest=arg[4],
help=arg[5], required=arg[6]) help=arg[5], required=arg[6])
# Version arg is special: # Version arg is special:
sysv_parser.add_argument('-v', '--version', sysv_parser.add_argument('-v', '--version',
action='version', action='version',
version=f"{sysv_parser.prog} version 0.h.-p") version=f"{sysv_parser.prog} version 0.h.-p")
# Parse the args from the system # Parse the args from the system