#!/bin/sh

PACKAGE_DEST=$SYNOPKG_PKGDEST
PKG_MAIL_DIR="${PRIVATE_LOCATION}/UI/texts/"
PRIVATE_LOCATION="/usr/local/hidrive" #This directory is obsoleted, please use PACKAGE_RESOURCE

# general routine

# remove symbolic link in user preserved area (obsolete after DSM4.0)
if [ -d ${PRIVATE_LOCATION} ]; then
	rm -rf ${PRIVATE_LOCATION}
fi

# creating symbolic link in non-preserved area
#  (these should be created in start() script)

# prepare default config file

# add port-forwarding config file

# add mail dir infomation into config

exit 0
