Run script on boot to LDXE
Posted: Sat Dec 02, 2017 2:02 am
I am new to the Linux ways and want to know how to run my script on boot to the terminal. I can run my script manually my going to its directory and typing . My script is
I am on Raspbian Stretch Lite and a Pi 0 W. Any ideas?
Code: Select all
./nameOfMyScript.sh | bluetoothctlCode: Select all
#!/bin/bash
echo "agent on"
sleep 1
echo "power on"
sleep 1
echo "discoverable on"
sleep 1
echo "exit"