#!/bin/sh

lineno=`wc -l ocsmgr/ocs | sed -e 's/ocsmgr\/ocs//g'`
lineno=`expr $lineno + 1`
eval "sed -e 's/\${LINENO}/$lineno/' ocsmgr/ocs > drbl-ocs"
#cat ocsmgr/ocsmgrd >> drbl-ocs
zip -r ocsmgr.zip ocsmgr/*
cat ocsmgr.zip >> drbl-ocs
rm -f ocsmgr.zip
chmod 755 drbl-ocs
