openpkg/dot.bash_login

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
parent 13
cb59d6afeb61
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

michael@13 1 ##
michael@13 2 ## @l_prefix@/.bash_login -- Local Bash Login Script
michael@428 3 ## Copyright (c) 2000-2012 OpenPKG GmbH <http://openpkg.com/>
michael@428 4 ##
michael@428 5 ## This software is property of the OpenPKG GmbH, DE MUC HRB 160208.
michael@428 6 ## All rights reserved. Licenses which grant limited permission to use,
michael@428 7 ## copy, modify and distribute this software are available from the
michael@428 8 ## OpenPKG GmbH.
michael@428 9 ##
michael@428 10 ## THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
michael@428 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@428 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@428 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@428 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@428 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@428 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@428 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@428 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@428 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@428 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@428 21 ## SUCH DAMAGE.
michael@13 22 ##
michael@13 23
michael@13 24 # provide user and host information in default prompt
michael@13 25 PS1="\u@\h\$ "
michael@13 26
michael@13 27 # environment permissions
michael@13 28 umask 022
michael@13 29 ulimit -c 16384
michael@13 30
michael@13 31 # history functionality
michael@13 32 shopt -s histappend
michael@13 33 HISTSIZE=100
michael@13 34 HISTFILESIZE=100
michael@13 35
michael@13 36 # various additional variables
michael@13 37 export TMPDIR=/tmp
michael@13 38 export BLOCKSIZE=1024
michael@13 39
michael@13 40 # activate the bootstrapping Bourne-Shell
michael@13 41 # environment of the OpenPKG hierarchy
michael@13 42 eval `@l_prefix@/bin/openpkg rc --eval openpkg env`
michael@13 43
michael@13 44 # make sure some non-standard but usually
michael@13 45 # important executable directories are active
michael@13 46 test -d /usr/ccs/bin && PATH="$PATH:/usr/ccs/bin"
michael@13 47 test -d /usr/local/bin && PATH="$PATH:/usr/local/bin"
michael@13 48
michael@13 49 # initially adjust $PWD to symbolic path
michael@13 50 cd $HOME
michael@13 51
michael@13 52 # path to bash environment init script
michael@13 53 BASH_ENV=$HOME/.bashrc
michael@13 54
michael@13 55 # source the standard environment script
michael@13 56 . $BASH_ENV
michael@13 57

mercurial