iproute2/ip/routef
<<
>>
Prefs
   1#! /bin/sh
   2# SPDX-License-Identifier: GPL-2.0
   3
   4if [ -z "$*" ] ; then
   5        exec ip -4 ro flush  scope global  type unicast
   6else
   7        echo "Usage: routef"
   8        echo
   9        echo "This script will flush the IPv4 routing table"
  10fi
  11