#!/system/bin/sh

if [ ${0##*/} = util-linux-wrapper ] ; then
  echo "ERROR: Do not call this script - this is only a wrapper used to call the executables with a well defined enviroment"
  exit 254
fi


# settings for all binaries
# 
export TERMINFO="/system/etc/terminfo"

export LD_LIBRARY_PATH=/system/usr/lib/util-linux-libraries

case ${0##*/} in

  * )
   :
   ;;


esac

eval 'exec  /system/usr/bin/util-linux-binaries/${0##*/} ${CMD_PARAMETER} ${1+"$@"}'

