Toltec Overview#
This page is just a stub that needs to be completed. You can open a PR on the repo to add more content to the page.
Filesystem Layout#
Toltec uses entware as a base, which means that it tries to follow the filesystem layout that entware uses. Toltec generally tries to follow the same file hierarchy as archlinux, when applicable.
/opt#
Entware, and to the most part, toltec, stores all of it’s data in a folder that is mounted to /opt
. Toltec puts this folder in /home/root/.entware
. All packages are compiled with the assumption that they are stored under /opt
.
/opt/etc#
Configuration files for packages are generally stored in this directory instead of in /etc
.
/opt/etc/draft#
This directory contains application registrations for draft and remux. See Launcher Application Registration for more information.
/opt/etc/init.d#
Entware packages will add executable scripts here to manage services that you
install. Toltec allows you to manage this with rcctl
, which is provided by
the entware-rc
package.
/opt/bin#
User executables should be placed in this folder, which makes them available on the user’s path.
/opt/libexec#
Contains executables that have name conflicts with other executables (e.g. wget-ssl
or wget-nossl
). The selected version will be symlinked to /opt/bin
.
/opt/sbin#
Some packages place their executables in this directory, which is discouraged. /opt/bin
should be used instead.
Systemd Services#
entware-rc@.service#
opt.mount#
rm2fb.service#
launcher.service#
Launcher Application Registration#
Launcher Registration#
/opt/share/launcherctl/<name>
Must be executable.
Must implement the following:
is-active
is-enabled
start
stop
enable
disable
logs [-f|--follow]
apps
running
paused
launch <name>
resume <name>
close <name>
pause <name>
Kernels#
/opt/usr/share/kernelctl