-Moved several installation functions to individual scripts that will run as systemd processes for updating/installing; This is phase 1 in creating an automatic update system
-Merged ttyd into simpleadmin as it is now part of simpleadmin as "console"
-Now installs:
mc: GUI file browser
htop: graphical view of system resources
dfc: graphical view of disk space
lsof: list open files (show what's using a particular thing/file)
-Now patches the login and passwd binaries to allow a normal login process
-Sets the $PATH and $HOME of the root user to reflect efficient use of the environment
(These changes were moved from the ttyd installation process as it is useful to more than just ttyd)
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.
Change installation from /opt to /usrdata/opt
There is more room to work with at /dev/ubi2_0 which is where /usrdata is mounted from.
From stock firmware ubi0 (rootfs [/]) only has 49.3 MBs free while ubi2_0 has 119.8 MBs