diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-07-02 19:39:37 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-07-02 20:57:10 -0400 |
commit | 9a15e394d100e11bd0f99aa1c924bf958aab1896 (patch) | |
tree | c99a0baf0ac664f3396f48413312a980fbd1901b /usr/sbin/pc-sysinstall | |
parent | 40fd50c8d044069e144fea38ce5c288f34b6e725 (diff) | |
download | pfsense-9a15e394d100e11bd0f99aa1c924bf958aab1896.zip pfsense-9a15e394d100e11bd0f99aa1c924bf958aab1896.tar.gz |
Use product name for bsdlabel
Diffstat (limited to 'usr/sbin/pc-sysinstall')
-rwxr-xr-x | usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh | 2 |
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" ] |