NAS540 - Troubleshooting email settings

2»

All Replies

  • Mijzelf
    Mijzelf Posts: 2,815  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    edited July 2020
    I don't understand what that simplifies for me regarding Entware

    After installing MetaRepository, an Entware zypkg is available.

  • MV10
    MV10 Posts: 13  Freshman Member
    Ah, then I probably don't need it -- I already have Entware installed, I'm just not clear about how to ensure it's always in the path at startup. If I manually update the path in an SSH session then Entware seems to work -- I can run opkg, although I haven't installed anything yet.

    And more generally, I'm not sure how to get other things (like my eventual goal, the email relay) up and running after reboots in the NAS environment of volatile mounts.
  • Mijzelf
    Mijzelf Posts: 2,815  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    edited July 2020
    And more generally, I'm not sure how to get other things (like my eventual goal, the email relay) up and running after reboots in the NAS environment of volatile mounts.

    The line '/opt/etc/init.d/rc.unslung start' will execute all scripts in /opt/etc/init.d/ with argument 'start'. This way you can start all kind of daemons you like.

    I'm just not clear about how to ensure it's always in the path at startup.
    I solved that for you, the package profile-hook_0.1_all.ipk installs a script in /opt/etc/init.d/ which injects code in /etc/profile to source /opt/etc/profile, but only for 'real' shells. (We don't want to disturb firmware scripts.)

    I think you can install it using 'opkg install /path/to/local/copy/of/profile-hook_0.1_all.ipk', but of course you can also extract the script. An .ipk file is actually a .tar.gz

  • MV10
    MV10 Posts: 13  Freshman Member
    Awesome, thanks! Sounds like you've got me on the right path, I appreciate the help.

Consumer Product Help Center