10 lines
173 B
Plaintext
10 lines
173 B
Plaintext
|
#! /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
|