From 591911d1723037ecf8cd0f5e5961bc1d9fc7a1df Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 23 Oct 2024 22:33:05 +0200 Subject: [PATCH] luci-base: add APK as detectable feature Add APK as detectable feature so that generic luci-app-pkg can detect OPKG or APK package manager. Signed-off-by: Christian Marangi --- modules/luci-base/root/usr/share/rpcd/ucode/luci | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-base/root/usr/share/rpcd/ucode/luci b/modules/luci-base/root/usr/share/rpcd/ucode/luci index 9bb8bb88c7..26fd3b0e5b 100644 --- a/modules/luci-base/root/usr/share/rpcd/ucode/luci +++ b/modules/luci-base/root/usr/share/rpcd/ucode/luci @@ -206,6 +206,7 @@ const methods = { dropbear: access('/usr/sbin/dropbear') == true, cabundle: access('/etc/ssl/certs/ca-certificates.crt') == true, relayd: access('/usr/sbin/relayd') == true, + apk: access('/usr/bin/apk') == true, }; const wifi_features = [ 'eap', '11ac', '11ax', '11be', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps', 'ocv' ]; -- 2.30.2