mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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 <antonio.pastor@gmail.com>
This commit is contained in:
committed by
Hannu Nyman
parent
af32ef43f8
commit
fa2eb8bf78
@@ -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"
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user