1
0
Fork 0
Commit graph

3 commits

Author SHA1 Message Date
b6bcec6d88 bootSound: Remove usage of /dev/urandom
The bootSound script started to hang on strings /dev/urandom,
so replace it with a cleaner random number generation.

24134 could be used for bash, but this would make the script
less generic, as it is not available in POSIX.

Use awk random() from a suggestion from ShellCheck.

Remove the code that was there to control the parsing from
/dev/urandom.

Other fixes :
 - Use wc rather than grep to count the files
 - Use a subshell for proper directory handling
2023-11-20 11:40:25 +01:00
1a2e64daed Modifié pour avoir un son aléatoire. Et oui, c'est débile! 2020-05-17 14:26:09 +01:00
b2b27b84cc Scripts de son au boot 2020-05-17 14:26:09 +01:00