Working toward audible sudo prompts for some operations.

This commit is contained in:
Storm Dragon 2023-08-17 15:28:03 -04:00
parent d5c86ab680
commit 800d6ca71b
2 changed files with 14 additions and 0 deletions

7
pi3/files/etc/audibleprompt.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
play -qnV0 synth 3 pluck D3 pluck A3 pluck D4 pluck F4 pluck A4 delay 0 .1 .2 .3 .4 remix - chorus 0.9 0.9 38 0.75 0.3 0.5 -t &
read -rsp "[sudo] password for $USER:"$'\n' password
echo "$password"
exit 0

7
pi4/files/etc/audibleprompt.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
play -qnV0 synth 3 pluck D3 pluck A3 pluck D4 pluck F4 pluck A4 delay 0 .1 .2 .3 .4 remix - chorus 0.9 0.9 38 0.75 0.3 0.5 -t &
read -rsp "[sudo] password for $USER:"$'\n' password
echo "$password"
exit 0