mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-08-13 07:15:54 +00:00

This makes it easier to execute locally for testing. Signed-off-by: Mike Frysinger <vapier@chromium.org>
11 lines
208 B
Bash
Executable File
11 lines
208 B
Bash
Executable File
#! /bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
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
|