aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/upgrade/getosreldate.sh
blob: 3c9564851e16fb7bfe5e1b85dbf119a2c2a2706c (plain) (blame)
1
2
3
4
5
6
7
8
#! /bin/sh
# $FreeBSD$

RELDATE=`sysctl -n kern.osreldate 2>/dev/null`
if [ "x$RELDATE" = x ]; then
  RELDATE=200000	# assume something really old
fi
echo $RELDATE