From 9a15e394d100e11bd0f99aa1c924bf958aab1896 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 2 Jul 2011 19:39:37 -0400 Subject: Use product name for bsdlabel --- usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh b/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh index 316b46c..25dfcc5 100755 --- a/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh +++ b/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh @@ -123,7 +123,7 @@ gen_glabel_name() # Check if we are doing /, and rename it if [ "$MOUNT" = "/" ] then - NAME="rootfs" + NAME=`cat /etc/inc/globals.inc | grep product_name | awk '{ print $3 }' | cut -d'"' -f2` else # If doing a swap partition, also rename it if [ "${TYPE}" = "SWAP" ] -- cgit v1.1