Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.
Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.
Signed-off-by: Paul Spooren <mail@aparcar.org>
If ttyd is configured to ssl, you will get the following message in the
log `refuse to serve WS client for illegal ws path`. Upstream a patch
has already been applied which fixes this.
Since there is no newer version than 1.6.1, this fix is backported as a
patch. And could be removed if a new version of ttyd is available.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
GCC10 defaults to -fno-common , which breaks compilation as there are
multiple variables defined outside of the header file.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Append missing debug option value.
If this is not append and the debug option is selected, then we get the
following error output on ttyd start.
> ttyd: missing start command
To fix this add missing debug option value.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Added the mount utilities. It turns out that udev is not a requirement.
Renamed package to fuse3 and moved to utils, as with fuse2.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit adds two additional init.d targets:
* uciadd:
This command adds the default docker0 bridge to the network
configuration. Additional, a new firewall zone docker is created
* ucidel
This command removes default docker0 bridge from the network
configuration. The new docker firewall zone gets also deleted.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Removed multibyte options. They must now be enabled.
Refreshed patches.
Commented out autowrite as requested in
https://github.com/openwrt/packages/pull/12177
Signed-off-by: Rosen Penev <rosenp@gmail.com>
API change.
Cleaned up Makefile.
Fixed license information.
Remove pointless CMAKE_INSTALL. This is not needed in InstallDev.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
If the uci configuration is changed send dockerd a SIGHUP to reload the
generated daemon.json file with the new configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Extract data from configuration file /etc/config/dhcp and create labels
{name, ip, mac, dns} via uci. Those labels are useful in order to craft
complex prometheus queries as replacing the MAC address to a custom
name. E.g.: wifi_station_signal_dbm * on (mac) group_left(name)
uci_dhcp_host or on (mac) label_replace(wifi_station_signal_dbm, "name",
"$1", "mac", "(.+)")
Signed-off-by: Gérondal Thibault <contact@tycale.be>
Added patches to fix meson compilation.
Reworked flashrom.mk to work with meson.
Several minor Makefile cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
A bit ugly but it works.
Added PKG_BUILD_PARALLEL for faster compilation.
Fix license information.
Minor cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This adds a new Makefile variable, GO_PKG_TAGS, for Go packages. When
set, the value is passed as the parameter of the -tags option for 'go
install'.
This also updates syncthing to use this variable.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
I've noticed that in deployment on some reboots it won't configure,
This seems to be due to running before the system/network is ready.
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
Until now, the firewall rules from the dockerd were preserved after the
service was stopped. This is not nice. With this change the firewall rules
created by dockerd will be deleted when the dockerd service is stopped.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>