mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 00:35:30 +04:00
f8721fb6412ed82c1c3a4428d52564a898816f32
The LuCI VRRP status page (luci-app-keepalived) stays empty because 'ubus
call keepalived dump' always returns '{}'. The rpcd plugin asks keepalived
to write /tmp/keepalived.json, but this never works:
- The JSON dump signal is hardcoded as 37. keepalived uses a signal based
on SIGRTMIN, so the number depends on the libc. On musl (aarch64) it is
36 ('keepalived --signum=JSON'), and signal 37 is ignored. Query the
number from keepalived instead.
- keepalived writes the file asynchronously from its event loop, after kill
has already returned. The script reads it immediately and finds nothing
(0/20 attempts on aarch64). After 10 ms it is always present (20/20).
Wait one second before reading it. Whole seconds work with every busybox
'sleep' build.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Alexander Wilhelm <alexander.wilhelm@westermo.com>
OpenWrt packages feed
Description
This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.
Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.
Usage
This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.
This feed is enabled by default. To install all its package definitions, run:
./scripts/feeds update packages
./scripts/feeds install -a -p packages
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Description
Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
Readme
GPL-2.0
185 MiB
0 Stars
1 Watchers
0 Forks
Languages
Makefile
46.1%
Shell
33.3%
UnrealScript
9.9%
C
6.4%
C++
1.5%
Other
2.7%