File: routef

package info (click to toggle)
iproute 20120521-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,968 kB
  • sloc: ansic: 39,902; sh: 1,774; cpp: 476; makefile: 466; yacc: 339; lex: 145; perl: 101
file content (9 lines) | stat: -rw-r--r-- 173 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#! /bin/sh

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