Skip to contentSkip to conversation

bug: chk fails to check for iproute tools

DISCUSSION Sam Johnston 2 participants 2 messages Apr 8, 2005

lore
Share & tools
lore
#0 lore raw

Morning all,

I lost access to a colo box yesterday because iproute wasn't installed. Can someone please check this in as check_iproute (unless you can see a good reason not to) so as to save someone else from suffering the same fate.

#!/bin/bash
# CHECK-INSTALL

function error {
echo 'Check for iproute (ip addr) failed.'
exit 1
}

ip addr list || error

Thanks,

Sam

#1 lore raw
Quoted 4 lines · Sam Johnston

I lost access to a colo box yesterday because iproute wasn't installed. Can someone please check this in as check_iproute (unless you can see a good reason not to) so as to save someone else from suffering the same fate.

Good idea -- this cost me a few hours last week as well... ;-}

Steve

Signature · 4 lines
Stephen G. Traugott  (KG6HDQ)
UNIX/Linux Infrastructure Architect, TerraLuna LLC
[email protected] 
http://www.stevegt.com -- http://Infrastructures.Org