From fa2eb8bf787715bf345d6c7d0f562091d82b24ea Mon Sep 17 00:00:00 2001 From: Antonio Pastor Date: Tue, 29 Apr 2025 18:47:48 -0400 Subject: [PATCH] netatalk: fix small issues with sample config and config generation Small issues with sample configureation caused services not to start or flood log with errors. Signed-off-by: Antonio Pastor --- net/netatalk/files/atalkd.init | 4 ++-- net/netatalk/files/macipgw.conf | 2 +- net/netatalk/files/papd.conf | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net/netatalk/files/atalkd.init b/net/netatalk/files/atalkd.init index 871fe6e874..1c359c36a1 100755 --- a/net/netatalk/files/atalkd.init +++ b/net/netatalk/files/atalkd.init @@ -38,12 +38,12 @@ generate_config() { } config_get _value "$section" "mode" [ -z "$_value" ] || append _buffer "-$_value" + config_get _value "$section" "phase" + [ -z "$_value" ] || append _buffer "-phase $_value" config_get _value "$section" "net" [ -z "$_value" ] || append _buffer "-net $_value" config_get _value "$section" "addr" [ -z "$_value" ] || append _buffer "-addr $_value" - config_get _value "$section" "phase" - [ -z "$_value" ] || append _buffer "-phase $_value" atalkd_config="$atalkd_config$_buffer" config_list_foreach "$section" zone handle_zone atalkd_config="$atalkd_config$NL" diff --git a/net/netatalk/files/macipgw.conf b/net/netatalk/files/macipgw.conf index 1c24c0517d..48720e7106 100644 --- a/net/netatalk/files/macipgw.conf +++ b/net/netatalk/files/macipgw.conf @@ -3,4 +3,4 @@ config macipgw 'macipgw' #option zone 'Gateway' option nameserver '192.168.1.1' option network '192.168.100.0' - option netmask '255.255.225.0' + option netmask '255.255.255.0' diff --git a/net/netatalk/files/papd.conf b/net/netatalk/files/papd.conf index 02f955d693..fd8f058504 100644 --- a/net/netatalk/files/papd.conf +++ b/net/netatalk/files/papd.conf @@ -1,6 +1,6 @@ config papd 'papd' - # set enable to 0 to skip service startup - option papd_enable '0' + # set disabled to 1 to skip service startup + option disabled '1' # set config_overwrite to 0 if manually editing config file and to have init ignore this file option config_overwrite '1' # set to /etc/papd.con to use config file provided with package (useful if manually editing it) -- 2.30.2