xf.li | 8611891 | 2025-03-19 20:07:27 -0700 | [diff] [blame^] | 1 | #! /bin/sh |
2 | # SPDX-License-Identifier: GPL-2.0 | ||||
3 | |||||
4 | if [ -z "$*" ] ; then | ||||
5 | exec ip -4 ro flush scope global type unicast | ||||
6 | else | ||||
7 | echo "Usage: routef" | ||||
8 | echo | ||||
9 | echo "This script will flush the IPv4 routing table" | ||||
10 | fi |