diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-10-23 22:33:05 +0200 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-10-24 00:04:47 +0200 |
commit | 591911d1723037ecf8cd0f5e5961bc1d9fc7a1df (patch) | |
tree | 1e2d648e5a39c7bd58cf6d513b738c5e3c175a4b /modules/luci-base/root/usr/share/rpcd | |
parent | 3a8e9baf32242f30cf65791b61c460413bd115ce (diff) |
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 <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-base/root/usr/share/rpcd')
-rw-r--r-- | modules/luci-base/root/usr/share/rpcd/ucode/luci | 1 |
1 files changed, 1 insertions, 0 deletions
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' ]; |