Compare commits
2 commits
6aadb7daf5
...
7e870a26f9
Author | SHA1 | Date | |
---|---|---|---|
7e870a26f9 | |||
1cfbafe4ab |
3 changed files with 18 additions and 0 deletions
7
bin/btpair.sh
Executable file
7
bin/btpair.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
HEADPHONE="88:D0:39:7D:6A:70"
|
||||||
|
|
||||||
|
bluetoothctl trust ${HEADPHONE}
|
||||||
|
bluetoothctl disconnect ${HEADPHONE}
|
||||||
|
bluetoothctl connect ${HEADPHONE}
|
5
bin/mountMusic.sh
Executable file
5
bin/mountMusic.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
ssh -f clara -L 2222:dmc-12.mousur.int:22 -N
|
||||||
|
|
||||||
|
sshfs -p 2222 dbroqua@127.0.0.1:/srv/dev-disk-by-label-storage/medias/Music ~/Music
|
6
lib/systemd/system-sleep/close-ssh.sh
Executable file
6
lib/systemd/system-sleep/close-ssh.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
if [ "${1}" == "pre" ]; then
|
||||||
|
umount /home/dbroqua/Music
|
||||||
|
killall ssh
|
||||||
|
fi
|
Loading…
Reference in a new issue