Changeset 5053ee4


Ignore:
Timestamp:
03/11/14 04:49:58 (10 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

Location:
src-sh
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • src-sh/about/Makefile

    rc60c604 r5053ee4  
    4040        -$(DEL_DIR) $(INSTALL_ROOT)$(PREFIX)/bin/  
    4141 
     42install_doinstall: 
     43        sh install.sh $(PREFIX) 
    4244 
    4345install_dochmod: first FORCE 
     
    4648 
    4749 
    48 install:  install_scripts install_dochmod FORCE 
     50install:  install_scripts install_dochmod install_doinstall FORCE 
    4951 
    5052uninstall: uninstall_scripts   FORCE 
    5153 
    5254FORCE: 
    53  
  • 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`" 
  • src-sh/port-files/pkg-plist

    rd2de2d0 r5053ee4  
    546546share/pcbsd/scripts/rmzfsdir.sh 
    547547share/pcbsd/scripts/sys-init.sh 
     548share/pcbsd/version 
    548549etc/warden.conf.dist 
    549550etc/pc-activedirectory.conf 
Note: See TracChangeset for help on using the changeset viewer.