git://git.onelab.eu
/
iproute2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Checkign in new iproute2
[iproute2.git]
/
ip
/
routef
diff --git
a/ip/routef
b/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