#!/bin/sh


 if [ -z "$LD_PRELOAD" ]
                then
                        export LD_PRELOAD="/usr/local/lib/libcsocks.so"
                fi

          if [ $# = 0 ]
          then
          ${SHELL:-/bin/sh}
          fi

          if [ $# -gt 0 ]
          then
               exec "$@"
          fi
export LD_PRELOAD=""
exit 0

