#!/bin/bash # CHECK-INSTALL function error { echo 'Check for iproute2 failed.' exit 1 } which ip || error