1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-31 22:10:10 -07:00

x86 initial

This commit is contained in:
KM4ACK 2022-10-20 13:48:48 -05:00
parent af953a0133
commit fc778543e3

View File

@ -22,8 +22,8 @@ echo "We are missing a dependency....expect"
echo "Hang on while it is installed" echo "Hang on while it is installed"
echo "You can press ctrl+c to exit" echo "You can press ctrl+c to exit"
sleep 3 sleep 3
sudo apt update sudo -A apt update
sudo apt install -y expect sudo -A apt install -y expect
fi fi
#create connect script in RAM memory. (Called later from this script) #create connect script in RAM memory. (Called later from this script)
@ -33,7 +33,7 @@ cat << "MYFILE" > /run/user/$UID/connect
set prompt "#" set prompt "#"
set address [lindex $argv 0] set address [lindex $argv 0]
spawn sudo bluetoothctl spawn sudo -A bluetoothctl
expect -re $prompt expect -re $prompt
send "scan on\r" send "scan on\r"
send_user "\nStandby\r" send_user "\nStandby\r"