Page 8 of 8

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Fri Nov 24, 2017 6:21 pm
by father.mande
Hi,
Maxmen wrote:i cant to understand how to start installed with opkg apps and how to make is autostarted.
In my case i installed cups and i cant to find the way to start it.
Entware is like a Linux in the ADM
... in /opt/etc/init.d you can add your own script starting by Snn (nn determine the order to start it)
... ... verify perhaps a script was created for CUPS so you can test it ... /opt/etc/init.d/Sxxscript start
... ... if not create your own
... at each start of Entware APKG ... the shell /opt/etc/init.d/rc.unslug is called , this shell search for Snn... file and start it

Code: Select all

#!/bin/sh

PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# Start/stop all init scripts in /opt/etc/init.d including symlinks
# starting them in numerical order and
# stopping them in reverse numerical order

#logger "Started $0${*:+ $*}."

ACTION=$1
CALLER=$2

if [ $# -lt 1 ]; then
    printf "Usage: $0 {start|stop|restart|reconfigure|check|kill}\n" >&2
    exit 1
fi

[ $ACTION = stop -o $ACTION = restart -o $ACTION = kill ] && ORDER="-r"

for i in $(/opt/bin/find /opt/etc/init.d/ -perm '-u+x' -name 'S*' | sort $ORDER ) ;
do
    case "$i" in
        S* | *.sh )
            # Source shell script for speed.
            trap "" INT QUIT TSTP EXIT
            #set $1
            #echo "trying $i" >> /tmp/rc.log
            . $i $ACTION $CALLER
            ;;
        *)
            # No sh extension, so fork subprocess.
            $i $ACTION $CALLER
            ;;
    esac
done
You can see that is Snnscript is executed as a fork ... when Snnscript.sh is executed inside the original shell (so be attention if your .sh wait ... all will be blocked up to the unwait ... )

Philippe.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Tue Mar 20, 2018 12:23 am
by father.mande
Hi,

Entware team have decide to merge Entware-ng (actual APKG) with new feed for Entware-3X (3X is for kernel 3.2 and more)

OLD Entware feed are not updated any more ... and MUST be replaced

Please follow the instructions here : viewtopic.php?f=156&t=9579 to change to new feed.

ATTENTION :
armv7 series ... it's easy (already prepare for ... )
x86_64 is a little more complex but just a little
x86 32 bits are not supported ... sorry

Philippe.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Wed Sep 26, 2018 5:49 pm
by Khipcyon
chewiiie wrote:Nope. Still stuck with Pearl SSL...
Hello !
Any news ont the IO::Socket::SSL problem ?
I have the same problme with spotty and I am stuck at the same point :cry:
Best,

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Wed Sep 26, 2018 6:12 pm
by father.mande
Hi,
Khipcyon wrote: Any news ont the IO::Socket::SSL problem ?
I have the same problem with spotty and I am stuck at the same point :cry:
Best,
First read : https://github.com/Entware/Entware-ng/w ... rl-modules

Second : you can post an issue ior a package request to the author : https://github.com/Entware/Entware/issues

Philippe.
NB for complex application ... you can win time by using a chroot with your preferred Ubuntu / Debian distribution

Re: [APKG Entware-ng] Replace Astware & Optware include 64 bits version

Posted: Thu Sep 27, 2018 2:23 am
by itdaboyz
Do you think we could ask the team to add Mono in the packages list?

Since Asustor doesn't maintain a up to date version it could be a great alternative.

Re: [APKG Entware-ng] Replace Astware & Optware include 64 bits version

Posted: Thu Sep 27, 2018 4:50 am
by father.mande
Hi,
itdaboyz wrote:Do you think we could ask the team to add Mono in the packages list?
Since Asustor doesn't maintain a up to date version it could be a great alternative.
Yes, you can do a request ... but I have no way to presume the response
I am only the integrator for Asustor not in the team generating software for OPKG

Zyxmon ; the author of Entware can help you and provide a response in term of feasibility, delay and difficulty ...

Philippe.

Re: [APKG Entware-ng] Replace Astware & Optware include 64 bits version

Posted: Thu Sep 27, 2018 5:29 am
by itdaboyz
I'll ask them, thanks :)