etc: Add rc.local

fix_package_url
Marc 2021-08-17 21:33:35 +01:00
parent 2ceb2ba7d4
commit 1fe19cb021
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
1 changed files with 15 additions and 0 deletions

15
etc/rc.local Normal file
View File

@ -0,0 +1,15 @@
# Configure Serial Console
sleep 3
echo -e '\033c' > /dev/ttyS0
if [[ $(SWITCH) == "switch3" ]]; then
SERIAL_WRITE Shark Jack Status: ATTACK MODE
else
SERIAL_WRITE Shark Jack Status: ARMING MODE
fi
SERIAL_WRITE Press ENTER to activate console
exit 0