diff --git a/ip/routef b/ip/routef index db43b5df..d266e2d9 100644 --- a/ip/routef +++ b/ip/routef @@ -1,3 +1,9 @@ #! /bin/sh -exec ip -4 ro flush scope global type unicast +if [ -z "$*" ] ; then + exec ip -4 ro flush scope global type unicast +else + echo "Usage: routef" + echo + echo "This script will flush the IPv4 routing table" +fi