summaryrefslogtreecommitdiffstats
path: root/usr/sbin/pc-sysinstall
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-07-02 19:39:37 -0400
committerScott Ullrich <sullrich@gmail.com>2011-07-02 20:57:10 -0400
commit9a15e394d100e11bd0f99aa1c924bf958aab1896 (patch)
treec99a0baf0ac664f3396f48413312a980fbd1901b /usr/sbin/pc-sysinstall
parent40fd50c8d044069e144fea38ce5c288f34b6e725 (diff)
downloadpfsense-9a15e394d100e11bd0f99aa1c924bf958aab1896.zip
pfsense-9a15e394d100e11bd0f99aa1c924bf958aab1896.tar.gz
Use product name for bsdlabel
Diffstat (limited to 'usr/sbin/pc-sysinstall')
-rwxr-xr-xusr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh2
1 files changed, 1 insertions, 1 deletions
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" ]
OpenPOWER on IntegriCloud