)]}'
{"elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.sh":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"ba677ffb7c715ce0d220c70f6b2fe5d00a11a17e","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"function inspect_interface() {"},{"line_number":65,"context_line":"    local interface\u003d$1"},{"line_number":66,"context_line":"    local mac_addr_type\u003d$(cat /sys/class/net/${interface}/addr_assign_type)"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    echo -n \"Inspecting interface: $interface...\""},{"line_number":69,"context_line":"    if config_exists $interface; then"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9a1a9d01_3dd7c024","line":66,"updated":"2015-09-28 05:34:30.000000000","message":"so \"local\" hides failures from the output when running under \"set -e\" \n\nso if we\u0027re cleaning up, making this\n\n local mac_addr_type\n mac_addr_type\u003d$(...)\n\nwould be better.","commit_id":"eb907b35333a418b763929a84bba77e3d6e9965b"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"ba677ffb7c715ce0d220c70f6b2fe5d00a11a17e","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        echo \"Device has generated MAC, skipping.\""},{"line_number":73,"context_line":"    else"},{"line_number":74,"context_line":"        ip link set dev $interface up \u0026\u003e/dev/null"},{"line_number":75,"context_line":"        HAS_LINK\u003d$(get_if_link $interface)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"        TRIES\u003d10"},{"line_number":78,"context_line":"        while [ \"$HAS_LINK\" \u003d\u003d \"0\" -a $TRIES -gt 0 ]; do"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9a1a9d01_9de84ce4","line":75,"updated":"2015-09-28 05:34:30.000000000","message":"also while touching this line, making this stuff local would be a good cleanup","commit_id":"eb907b35333a418b763929a84bba77e3d6e9965b"}]}
