-# $OpenBSD: dot.profile,v 1.24 2014/02/21 16:30:14 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.25 2014/07/16 14:19:05 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 2009 Kenneth R. Westerback
set -o emacs
# Extract rootdisk from last 'root on ...' line. e.g.
-# root on wd0a swap on wd0b dump on wd0b
+# root on wd0a swap on wd0b dump on wd0b
set -- $(dmesg | sed -n '/^root on /h;${g;p;}')
rootdisk=$3