Ignore:
Timestamp:
May 7, 2013 12:51:02 PM (12 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
a10fe9c
Parents:
a37ff35
Message:

Update pc-thinclient, when doing installs we can use pkgng to install DHCPD

Also update pc-sysinstall.example to use new dist files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-thinclient/pc-thinclient

    rb12f4f6 re02b30c  
    3434# Set some universal variables 
    3535PROGDIR="/usr/local/share/pcbsd/pc-thinclient" 
    36 DHCPPORT="net/isc-dhcp42-server" 
     36DHCPPORT="isc-dhcp41-server" 
    3737PXEWORLD="/usr/home/thinclient" 
    3838WORLDPORTS="x11/xorg graphics/xv" 
     
    292292        if [ "$?" = "0" ] ; then return; fi 
    293293 
    294         if [ ! -d "/usr/ports/$DHCPPORT" ] ; then 
    295                 exit_err "Missing /usr/ports/$DHCPPORT, please fetch the FreeBSD ports tree or install dhcp-server." 
    296         fi 
    297  
    298294        echo "Installing $DHCPPORT" 
    299         cd /usr/ports/${DHCPPORT} 
    300         make install 
     295        pkg install -y ${DHCPPORT} 
    301296        if [ "$?" != "0" ] ; then exit_err "Failed installing ${DHCPPORT}"; fi 
    302297} 
Note: See TracChangeset for help on using the changeset viewer.