fix(ndpid): Correct UCI config section types for init scripts
- Change 'config main' to 'config ndpid main' for proper section naming - Change 'config compat' to 'config ndpid compat' - Enable ndpid by default (enabled='1') - Init scripts expect named sections, not typed sections Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ddae65d0fc
commit
88d60cc7f4
@ -1,14 +1,14 @@
|
||||
config main
|
||||
config ndpid 'main'
|
||||
option enabled '1'
|
||||
list interface 'br-lan'
|
||||
|
||||
config distributor
|
||||
config ndpid 'distributor'
|
||||
option enabled '1'
|
||||
option tcp_port '7000'
|
||||
option tcp_address '127.0.0.1'
|
||||
|
||||
config compat
|
||||
config ndpid 'compat'
|
||||
option enabled '1'
|
||||
|
||||
config actions
|
||||
config ndpid 'actions'
|
||||
option enabled '0'
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# /etc/config/ndpid
|
||||
|
||||
config ndpid 'main'
|
||||
option enabled '0'
|
||||
option enabled '1'
|
||||
option user 'nobody'
|
||||
option group 'nogroup'
|
||||
# Interfaces to monitor (space-separated)
|
||||
@ -32,7 +32,7 @@ config ndpisrvd 'distributor'
|
||||
# Max clients
|
||||
option max_clients '10'
|
||||
|
||||
config compat 'compat'
|
||||
config ndpid 'compat'
|
||||
# Enable Netifyd compatibility layer
|
||||
option enabled '1'
|
||||
# Output paths (Netifyd-compatible)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user