### Generic variables and functions
### -------------------------------

if [ -z "${SYNOPKG_PKGNAME}" ] || [ -z "${SYNOPKG_DSM_VERSION_MAJOR}" ]; then
  echo "Error: Environment variables are not set." 1>&2;
  echo "Please run me using synopkg instead. Example: \"synopkg start [packagename]\"" 1>&2;
  exit 1
fi

USER="synocli-monitor"
EFF_USER="sc-synocli-monitor"



### Package specific variables and functions
### ----------------------------------------


service_postinst ()
{
    echo "Install busybox"
    ${SYNOPKG_PKGDEST}/bin/busybox --install -s ${SYNOPKG_PKGDEST}/bin
}

