void-packages/srcpkgs/frr/files/frr-flush

24 lines
445 B
Bash
Executable File

#!/bin/sh
# Remove routes created by FRR
set -e
test "$(id -u)" = "0"
ip route flush proto 4
ip route flush proto 11
ip route flush proto 42
ip route flush proto 186
ip route flush proto 187
ip route flush proto 188
ip route flush proto 189
ip route flush proto 190
ip route flush proto 191
ip route flush proto 192
ip route flush proto 193
ip route flush proto 194
ip route flush proto 195
ip route flush proto 196
ip route flush proto 197