#!/bin/bash
# Copyright (C) 2000-2018 Synology Inc. All rights reserved.

. `dirname $0`/common

case $1 in
	start)
		# Do copy only when the files gone, ex: upgrade DSM will remove related files under /usr/bin
		GET_STATUS
		if  [ 0 -ne $? ]; then
			LINK_ALL
		fi
		exit 0
	;;
	stop)
		# Stop script should be empty for lanuage package
		exit 0
	;;
	status)
		GET_STATUS
		if [ 0 -eq $? ]; then
			exit 0
		else
			exit 150
		fi
	;;
	killall)
        ;;
	log)
		exit 0
	;;
esac

