• February 23, 2025, 06:24:21 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Add-on load order  (Read 2980 times)

ThePloum

  • Level 1 Member
  • *
  • Posts: 4
Add-on load order
« on: January 09, 2017, 02:51:00 PM »

Hello,

I have a DNS-320L with firmware version 1.08. I started to use a few add-ons (OpenVPN and Deluge) and I would like to know if we can define the load order of each add-on. Because I use a VPN I would like to force the load of OpenVPN first, then only after the load of Deluge.

Which script is in charge of the add-on loading at startup?

Thanks for your help,

Gilles
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on load order
« Reply #1 on: January 10, 2017, 01:52:06 AM »

Running takes place in alphabetical order.
Maybe if in the directory "/mnt/HD/HD_a2/Nas_Prog/Deluge" in the file "apkg.rc" field "StartDepend" enter the value "OpenVPN", VPN server is started before the Deluge. But I have not tested it, it was not necessary.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

ThePloum

  • Level 1 Member
  • *
  • Posts: 4
Re: Add-on load order
« Reply #2 on: January 10, 2017, 06:04:06 AM »

Hello,

Thank you! I will test with the field StartDepend.

I wish you all the best for this New Year!  :D
Logged