How do I install the Entware repo? (NAS 540)

Enderger
Enderger Posts: 3  Freshman Member
edited November 2020 in Personal Cloud Storage
Hi all,
I just wanted to ask how to install the Entware (non-ng) repo on a Zyxel 540 NAS, as I am trying to get rsync working to back up my main computer. (I know about the guide on the site, however it is very ambiguous on several things)
Thanks,
-Daniel

Accepted Solution

  • Mijzelf
    Mijzelf Posts: 2,395
    250 Answers 1000 Comments Friend Collector Fifth Anniversary
     Guru Member
    Answer ✓
    You should create a file /i-data/.system/zy-pkgs/USRPKG_DEPS_START containing a line 'entware':

    touch /i-data/.system/zy-pkgs/USRPKG_DEPS_START
    chmod +x /i-data/.system/zy-pkgs/USRPKG_DEPS_START
    echo entware > /i-data/.system/zy-pkgs/USRPKG_DEPS_START

    AND create an executable script /i-data/.system/zy-pkgs/entware, which contains the start script.

    The script /etc/init.d/zypkg_controller.sh is executed on boot, and will execute all scripts listed in USRPKG_DEPS_START, as long as they are located in /i-data/.system/zy-pkgs/, with the argument 'startup'. The same is done at shutdown, for all scripts listed in USRPKG_DEPS_SHUTDOWN, with the argument 'shutdown'.

All Replies

  • Mijzelf
    Mijzelf Posts: 2,395
    250 Answers 1000 Comments Friend Collector Fifth Anniversary
     Guru Member
    Which guide are you referring to, and how is it ambiguous?
  • Enderger
    Enderger Posts: 3  Freshman Member
    I am referring to the one in the Entware wiki. It says to create a shell script in the /i-pkgs folder with some bootup content, however it does not specify what it needs to be named (it says to create a file with "entware" in it, but I tried making an executable shell script with that name in the same directory and it did not work). 
  • Enderger
    Enderger Posts: 3  Freshman Member
    Thanks! I now have it working. It turns out also that you need to change the location opt is stored in to match your system. I'll update the wiki page with those clarifications.

Consumer Product Help Center