From d1b1127c7f5a07b7ce1613d185d60b03fbfddf5d Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:47:09 -0500 Subject: [PATCH] Entware Installer for Quectel V1.0 First release ready for use Notes: -opkg will work after installing -Everything opkg does is installed to /opt -/opt is actually located at /usrdata/opt to save space but is mounted at /opt -Anything opkg installs will not be available in the system path by default but you can get around this by symbolic linking each binary installed by the package to /bin and /sbin from /opt/bin and /opt/sbin For example: opkg install zerotier ln -sf /opt/bin/zerotier-one /bin ln -sf /opt/bin/zerotier-cli /bin ln -sf /opt/bin/zerotier-idtool /bin Now you can run those 3 binaries from the shell anytime since they are linked in a place already part of the system path. --- installentware.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installentware.sh b/installentware.sh index 1fedd4c..e5eb933 100644 --- a/installentware.sh +++ b/installentware.sh @@ -140,6 +140,8 @@ echo 'Info: Congratulations!' echo 'Info: If there are no errors above then Entware was successfully initialized.' echo 'Info: Add /opt/bin & /opt/sbin to $PATH variable' echo 'Info: Run export PATH=/opt/bin:/opt/sbin:$PATH to do it' +echo 'Info: opkg at /opt/bin will be linked to /bin but any package you install with opkg will not be automatically.' +ln -sf /opt/bin/opkg /bin if [ $TYPE = 'alternative' ]; then echo 'Info: Use ssh server from Entware for better compatibility.' fi