firmware/src/packages/fff
Fabian Bläse ffd00a93a7 fff-layer3-config: Disable SIGHUP during test mode
The SIGHUP signal is sent to a process if a hangup is detected on the
controlling terminal. This might happen if the ssh session, from which
the test mode was started, is disconnected.

Because ssh session disconnects might happen due to network
reconfiguration, aborting the test mode without restoring the old
settings might make the device unreachable.

Instead, disable the SIGHUP signal when test mode is activated, so
the script is either killed by the user (after successful configuration)
or the timer expires and the old settings are restored.

Fixes: #141

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <freifunk@dresel.systems>
Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>
2021-09-02 17:04:02 +02:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff fff: create proper package variants instead of copying file 2021-02-09 22:54:05 +01:00
fff-alfred packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-alfred-monitoring-proxy fff-alfred-monitoring-proxy: remove ebtables entry 2021-02-27 14:29:50 +01:00
fff-babeld fff-babeld: remove obsolete first_table_number 2021-09-02 17:03:42 +02:00
fff-batman-adv treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-boardname packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-config treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-dhcp fff-dhcp: fix indexing and output in uci-defaults 2021-02-09 22:59:18 +01:00
fff-fastd packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-firewall fff-firewall: Add ipv4 ssh connection limit 2021-02-27 14:48:10 +01:00
fff-hoods fff-hoods: Allow correct ula_prefix syntax in hoodfiles 2021-01-31 14:08:09 +01:00
fff-hoodutils treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-layer3 packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-layer3-config fff-layer3-config: Disable SIGHUP during test mode 2021-09-02 17:04:02 +02:00
fff-macnock treewide: rename br-mesh to br-client 2020-12-22 13:41:44 +01:00
fff-network fff-network: add packet_steering option to enable RPS 2021-09-02 17:02:59 +02:00
fff-node packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-nodewatcher treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-ra packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-random treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-simple-tc packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-support treewide: update names for OpenWrt 20.xx 2021-06-08 20:01:54 +02:00
fff-sysupgrade fff-sysupgrade: Keep ed25519 and ecdsa host key on system upgrade 2021-06-20 20:23:58 +02:00
fff-timeserver treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-uradvd packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-vpn-select packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-web-hood packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-web-ui fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
fff-wireguard fff-wireguard: Add missing include for get_mac_label 2021-09-02 17:03:20 +02:00
fff-wireless treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00