Score:0

Check state of Bluetooth before shutdown/reboot?

ar flag

I am writing a shell script and I would like for it to write to a file to save the current bluetooth state (on/off. I already know how to track bluetooth state) right before the computer shuts down. How do I make the script run before shutdown so it can write to a file?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.