check_options.sh 531 B

1234567891011121314
  1. #!/bin/bash
  2. OPTIONS=("GOLD_SUPPORT" "HARDENING_SUPPORT" "BLUETOOTH_SUPPORT" "AVAHI_DAEMON" \
  3. "KODI_UPNP_SUPPORT" "KODI_OPTICAL_SUPPORT" "KODI_AIRPLAY_SUPPORT" \
  4. "KODI_AIRTUNES_SUPPORT" "KODI_SAMBA_SUPPORT" "WIRELESS_DAEMON" \
  5. "SAMBA_SUPPORT" "SAMBA_SERVER" "SFTP_SERVER" "OPENVPN_SUPPORT" \
  6. "WIREGUARD_SUPPORT" "NTFS3G" "INSTALLER_SUPPORT" "REMOTE_SUPPORT")
  7. for OPT in "${OPTIONS[@]}"; do
  8. VAL=$(grep "$OPT" LibreELEC.tv/distributions/LibreELEC/options)
  9. if [[ ! "$VAL" ]]; then
  10. echo "Option '$OPT' not found"
  11. fi
  12. done