#!/bin/sh export QNAP_QPKG=CloudLink CONF=/etc/config/qpkg.conf QPKG_INSTALL_PATH=`/sbin/getcfg -f /etc/config/qpkg.conf $QNAP_QPKG Install_Path` # check install if [ "$QPKG_INSTALL_PATH" == "" ]; then exit 1 fi $QPKG_INSTALL_PATH/bin/tunnel_agent_ctl.sh stop &> /dev/null