Checkign in new iproute2
[iproute2.git] / ip / routef
old mode 100755 (executable)
new mode 100644 (file)
index db43b5d..d266e2d
--- 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