summaryrefslogtreecommitdiffstats
path: root/tools/tools/upgrade/getosreldate.sh
blob: cb23ef310d1254cde7b5fe87880fb642b32b5ee6 (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
# $Id$

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