mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-13 05:53:00 +00:00
web ui command updates
This commit is contained in:
@@ -335,8 +335,8 @@ def run_action_route():
|
|||||||
explanation_msg = ""
|
explanation_msg = ""
|
||||||
|
|
||||||
if action == 'start_display':
|
if action == 'start_display':
|
||||||
command = "bash start_display.sh"
|
command = "sudo python display_controller.py"
|
||||||
explanation_msg = "Starts the LED matrix display by executing the start_display.sh script."
|
explanation_msg = "Starts the LED matrix display by directly running display_controller.py with sudo."
|
||||||
elif action == 'stop_display':
|
elif action == 'stop_display':
|
||||||
command = "bash stop_display.sh"
|
command = "bash stop_display.sh"
|
||||||
explanation_msg = "Stops the LED matrix display by executing the stop_display.sh script."
|
explanation_msg = "Stops the LED matrix display by executing the stop_display.sh script."
|
||||||
|
|||||||
Reference in New Issue
Block a user