Changeset 5053ee4 for src-sh/about/about


Ignore:
Timestamp:
03/11/14 04:49:58 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
c642a3b, 950d9cf
Parents:
87a7010
Message:

Update src-sh/about script to auto-create the
/usr/local/share/pcbsd/version file during installation

This file will be used to pull the specific PC-BSD version string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/about/about

    r05784db r5053ee4  
    4343if [ "$SYSTYPE" = "PCBSD" ]; then  
    4444    display_pcbsd_banner     
     45    VERNAME="PC-BSD" 
    4546fi 
    4647if [ "$SYSTYPE" = "TRUEOS" ]; then  
     
    5455echo "       Uptime:............`uptime | awk '{sub(/^.* up +/,"");sub(/, *[0-9]+ users.*/,"");print}'`" 
    5556echo "       FreeBSD ver:.......`uname -r`" 
     57if [ "$SYSTYPE" = "PCBSD" ]; then 
     58  echo "       PC-BSD ver:........`cat /usr/local/share/pcbsd/version`" 
     59else 
     60  echo "       TrueOS ver:........`cat /usr/local/share/pcbsd/version`" 
     61fi 
    5662echo "       Arch:..............`uname -m`" 
    5763echo "       Kernel ident:......`uname -i`" 
Note: See TracChangeset for help on using the changeset viewer.