Changeset 762fbc7


Ignore:
Timestamp:
07/05/13 20:44:01 (15 months ago)
Author:
pkgdemon <pkgdemonteam@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
23421e3
Parents:
4c82fbc
Message:

Update pc-thinclient

Add code to output network id and network mask input from user to /etc/hosts.allow with other necessary options.

File:
1 edited

Legend:

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

    r4c82fbc r762fbc7  
    211211        fi 
    212212 
    213         # Add some entries for /etc/exports 
    214         cat /etc/exports 2>/dev/null | grep "$PXEWORLD" >/dev/null 2>/dev/null 
    215         if [ "$?" != "0" ] ; then 
    216                 echo "$PXEWORLD -maproot=nobody -ro -network 192.168.2 -mask 255.255.255" >>/etc/exports 
    217         fi 
     213        # Add some entries for /etc/exports based on manual user input 
     214        echo "-maproot=nobody -ro -network $netid -mask $netmaskid" >> /root/hosts.allow 
    218215 
    219216        # Setup tftp 
Note: See TracChangeset for help on using the changeset viewer.