#!/bin/bash # tests and run client LIB_SOCKET="/usr/share/lliurex/llxcfg-ldap-backend/backend-common.sh" [ -f "$LIB_SOCKET" ] || exit 1 . $LIB_SOCKET [ -x "$LBACK_CLIENT" ] || exit $LBACK_LOCAL_ERROR [ -S "$LBACK_SOCKET" ] || exit $LBACK_LOCAL_ERROR rc=0 hose localhost "$LBACK_SOCKET" --unix --fd 6 --fd 7 "$LBACK_CLIENT" "$@" || rc=$? exit $rc