Page 1 of 1

Run script on boot to LDXE

Posted: Sat Dec 02, 2017 2:02 am
by Myles9
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

Code: Select all

./nameOfMyScript.sh | bluetoothctl
. My script is

Code: Select all

#!/bin/bash
echo "agent on"
sleep 1
echo "power on"
sleep 1
echo "discoverable on"
sleep 1
echo "exit"
I am on Raspbian Stretch Lite and a Pi 0 W. Any ideas?