MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / shutdown_system

Function shutdown_system

webapp_modern.py:10949–10974  ·  view source on GitHub ↗

Shut down the entire system

()

Source from the content-addressed store, hash-verified

10947 return ('Not Found', 404)
10948 return _no_store(make_response(send_from_directory('demos', 'adsb_radar.html')))
10949
10950
10951@app.route('/mesh-nodes')
10952def mesh_nodes_page():
10953 """Serve the Meshtastic mesh map/node list.
10954
10955 Always served (login required): the USB-node path needs a Meshtastic device,
10956 but the MQTT source works over the Internet with no node/SDR at all, so the
10957 page is useful to everyone — and its always-visible Signal Intelligence
10958 button would otherwise land on a 404. Same rule as the APRS page.
10959 """
10960 return _no_store(make_response(send_from_directory('demos', 'mesh_nodes.html')))
10961
10962
10963@app.route('/mesh-map')
10964def mesh_map_page():
10965 """Serve the full-screen Meshtastic map (Leaflet slippy map of the mesh).
10966
10967 Always served (login required), same as /mesh-nodes — the map is fed by the
10968 same node data, which can come from a USB node or from MQTT over the Internet
10969 with no hardware at all.
10970 """
10971 return _no_store(make_response(send_from_directory('demos', 'mesh_map.html')))
10972
10973
10974@app.route('/pager-decode')
10975def pager_decode_page():
10976 """Serve the POCSAG/FLEX pager decode page.
10977

Callers

nothing calls this directly

Calls 2

errorMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected