# # $Id: openserctl.unixsock 1687 2007-02-22 15:16:38Z bogdan_iancu $ # # sc: openser control; tool for maintaining openser # #=================================================================== ##### ----------------------------------------------- ##### ### UNIXSOCK specific variables and functions # ##### ----------------------------------------------- ##### ### load CTL base # if [ -f "$MYLIBDIR/openserctl.ctlbase" ]; then . "$MYLIBDIR/openserctl.ctlbase" else mwarn "Cannot load CTL core functions '$MYLIBDIR/openserctl.ctlbase' ..." # exit -1 fi # ##### ----------------------------------------------- ##### ### parameters # if [ -z "$OSER_UNIXSOCK" ]; then OSER_UNIXSOCK=/tmp/openser.sock fi if [ -z "$OSERUNIX" ]; then OSERUNIX=openserunix fi # ##### ----------------------------------------------- ##### ### functions # usage_unixsock() { echo mecho " -- command 'unixsock'" echo cat <