Go to file
atatat cdc6282274 Provide a short output format for the get command that only prints the
address corresponding to RTA_GATEWAY, or nothing if it doesn't exist.
Modify the exit value of route depending on this, so that one can do
stuff like:

#!/bin/sh
gw=`route -sn get default 2>/dev/null`
if [ -z "$gw" ]; then
	echo no default route
	exit 1
fi
ping -w1 -c1 $gw >/dev/null 2>&1
if ! route -sn get $gw >/dev/null; then
	echo default gateway not responding
	exit 1
fi
echo default gateway is at $gw
2001-10-24 18:40:16 +00:00
bin fix typo 2001-10-24 11:28:55 +00:00
crypto Turn on TCP_NODELAY over loopback 2001-10-18 19:46:12 +00:00
dist copyright clarification, from tcpdump.org 2001-10-22 06:59:26 +00:00
distrib Initial cut at installation instructions for sandpoint. 2001-10-24 18:30:34 +00:00
etc Since <bsd.prog.mk> is included, we already have a full list of default 2001-10-24 02:43:13 +00:00
games Add one. 2001-10-22 00:55:00 +00:00
gnu Fix up the Makefile fragments for GDB on NetBSD/arm so they actually 2001-10-24 13:47:52 +00:00
include - add _PATH_USERMGMT_CONF. resolves [bin/14305] 2001-10-23 00:25:20 +00:00
lib Fix URL. From PR misc/14329. 2001-10-23 17:40:00 +00:00
libexec Fix how underfined weak symbols are treated -- before, ld.so would do nothing 2001-10-14 23:13:21 +00:00
regress Rename prn.c to prename.c to avoid problems with certain Microsoft host OS's. 2001-10-19 03:10:15 +00:00
sbin Provide a short output format for the get command that only prints the 2001-10-24 18:40:16 +00:00
share s/fnctl/fcntl/ 2001-10-24 09:01:47 +00:00
sys Determine PCI config mode before the ACPI probe; some methods need 2001-10-24 15:53:04 +00:00
tools Add $MACHINE_GNU_PLATFORM- prefixes to lint(1)'s front and back 2001-10-24 02:32:56 +00:00
usr.bin Avoid segmentation fault if "-z" option is used. Patch supplied by 2001-10-24 17:27:18 +00:00
usr.sbin Improve language. 2001-10-24 18:33:52 +00:00
build.sh Re-instate MACHINE -> MACHINE_ARCH entry for arm26, which I left out of the 2001-10-24 14:55:09 +00:00
Makefile Re-add intermediate dependall/install targets (do-lib-csu, do-lib, 2001-10-24 03:21:20 +00:00
Makefile.inc
UPDATING mtree update needed 2001-10-05 16:24:34 +00:00