xref: /openbmc/phosphor-misc/http-redirect/add-urls.awk (revision 4ee8f2c55b20dbf1987d056fe436168ee574b654)
1# Add this fragment to populate the https_resources array when urlfile is set
2# To use: awk -f $thisfile -v urlfile=
3# url contains  lookup redirect
4BEGIN {
5if (urlfile)
6	while ((getline < urlfile) > 0)
7		https_resources[$1] = $2
8}
9