10 lines
173 B
Bash
Executable File
10 lines
173 B
Bash
Executable File
#! /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
|