[PATCH v4 00/11] Ordered set of fixes and fff config file
Adrian Schmutzler
freifunk at adrianschmutzler.de
Fr Jul 21 15:08:38 CEST 2017
This sets contains all my most recent ideas/patches in a more ordered
fashion, so the older ones (unless those old ones already reviewed)
can be neglected.
During develepment, I've been able to test and validate the
correct transfer of settings to and between different builds
with the new config file as well as the WebUI implementation.
Some patches are just fixes, while most of them (marked RFC) are
based on the new fff config files introduced in no. 4. Note that
most of the subsequent patches rely on the possibility to write
entries into this file, which in my opinion makes applying and
preserving settings (like for the update notification and
passthrough) much easier and more organized.
Adrian Schmutzler (11):
simple-tc: Fix simple-tc not being active if set
fff-web: Fix setting hostname in settings.html
fff-network: Prevent resetting network config on each reboot
Rearrange fff config values into their own config file
fff-support: Update PoE passthrough code
fff-web: Added options to disable update notification
WebUI: Partially fix XHTML conformity in settings.html
fff-web: Include new options into settings.html
fff-autorestart: Add autorestart package
fff-autorestart: Add fff config option to disable
fff-web: Add autostart option to settings.html
bsp/default/root_file_system/etc/rc.local | 3 +
src/packages/fff/fff-autorestart/Makefile | 40 +++++++
.../files/usr/lib/micron.d/fff-autorestart | 1 +
.../files/usr/sbin/disable_autorestart.sh | 15 +++
.../fff-autorestart/files/usr/sbin/offlinerestart | 53 +++++++++
src/packages/fff/fff-network/Makefile | 2 +-
.../fff/fff-network/files/usr/sbin/applysimpletc | 14 +++
.../fff-network/files/usr/sbin/configurenetwork | 16 ++-
src/packages/fff/fff-nodewatcher/Makefile | 2 +-
.../fff/fff-nodewatcher/files/usr/sbin/nodewatcher | 16 +--
.../lib/fff-support/activate_poe_passthrough.sh | 8 ++
.../fff-support/cpe210_activate_poe_passthrough.sh | 5 -
.../usr/lib/fff-support/disable_poe_passthrough.sh | 11 ++
.../lib/fff-support/permanent_poe_passthrough.sh | 9 ++
.../ar71xx/usr/sbin/prepare_firmware_downgrade.sh | 27 +++++
src/packages/fff/fff-sysupgrade/Makefile | 2 +-
.../etc/uci-defaults/05-config-system-migration | 37 +++---
.../files/etc/uci-defaults/99-fff-sysupgrade | 2 +-
.../fff-sysupgrade/files/usr/sbin/configurefffinit | 37 ++++++
src/packages/fff/fff-vpn-select/Makefile | 2 +-
.../fff/fff-vpn-select/files/usr/sbin/vpn-select | 4 +-
src/packages/fff/fff-web/Makefile | 2 +-
.../uci-defaults/06-fff-reset-update-notification | 9 ++
.../files/usr/sbin/disable_update_notification.sh | 12 ++
.../fff-web/files/www/public/cgi-bin/status.html | 12 +-
.../fff/fff-web/files/www/ssl/cgi-bin/header | 4 +-
.../fff-web/files/www/ssl/cgi-bin/settings.html | 129 +++++++++++++++++----
src/packages/fff/fff/Makefile | 1 +
28 files changed, 408 insertions(+), 67 deletions(-)
create mode 100644 src/packages/fff/fff-autorestart/Makefile
create mode 100644 src/packages/fff/fff-autorestart/files/usr/lib/micron.d/fff-autorestart
create mode 100755 src/packages/fff/fff-autorestart/files/usr/sbin/disable_autorestart.sh
create mode 100755 src/packages/fff/fff-autorestart/files/usr/sbin/offlinerestart
create mode 100755 src/packages/fff/fff-network/files/usr/sbin/applysimpletc
create mode 100755 src/packages/fff/fff-support/ar71xx/usr/lib/fff-support/activate_poe_passthrough.sh
delete mode 100644 src/packages/fff/fff-support/ar71xx/usr/lib/fff-support/cpe210_activate_poe_passthrough.sh
create mode 100755 src/packages/fff/fff-support/ar71xx/usr/lib/fff-support/disable_poe_passthrough.sh
create mode 100755 src/packages/fff/fff-support/ar71xx/usr/lib/fff-support/permanent_poe_passthrough.sh
create mode 100755 src/packages/fff/fff-support/ar71xx/usr/sbin/prepare_firmware_downgrade.sh
create mode 100755 src/packages/fff/fff-sysupgrade/files/usr/sbin/configurefffinit
create mode 100644 src/packages/fff/fff-web/files/etc/uci-defaults/06-fff-reset-update-notification
create mode 100755 src/packages/fff/fff-web/files/usr/sbin/disable_update_notification.sh
--
2.7.4
Mehr Informationen über die Mailingliste franken-dev