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.
This commit is contained in:
iamromulan
2024-02-05 21:47:09 -05:00
committed by GitHub
parent 56f15a3c6a
commit d1b1127c7f

View File

@@ -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