Linux mx 6.12.12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~mx23ahs (2025-02-06) x86_64 GNU/Linux
`/usr/bin/startupsound-mx`
had issues running,
/usr/bin/startupsound-mx: line 57: [: missing `]'
when I checked the script using vim, I realized the 'elapsed` was called wrong, it was missing the dollar sign($) and the square bracket ending was missing.
Here is the code after the change
Code: Select all
sudo vim /usr/bin/startupsound-mx
Code: Select all
if [ "$elapsed" -ge "$max_duration" ]; then
Is this an issue specific to me, maybe this helps someone else too!