Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as DOS by gonzo ( 15 years ago )
#! /bin/sh -
test "$#" -lt "1" && return
DTABLE=$1
test "$#" -gt "1" && STABLE="$2"
test "$STABLE" = "" && STABLE="main"
ip route flush table $DTABLE
ip route show table $STABLE | grep -Ev '^default'
| while read ROUTE ; do
ip route add table $DTABLE $ROUTE
done
}
Revise this Paste