Initial Commit
This commit is contained in:
19
start_display.sh
Normal file
19
start_display.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the current user
|
||||
CURRENT_USER=$(whoami)
|
||||
|
||||
echo "Starting LED Matrix Display Service for user: $CURRENT_USER..."
|
||||
|
||||
# Start the service
|
||||
sudo systemctl start ledmatrix.service
|
||||
|
||||
# Check the status
|
||||
echo "Service status:"
|
||||
sudo systemctl status ledmatrix.service
|
||||
|
||||
echo ""
|
||||
echo "LED Matrix Display Service has been started."
|
||||
echo ""
|
||||
echo "To stop the service:"
|
||||
echo " sudo systemctl stop ledmatrix.service"
|
||||
Reference in New Issue
Block a user