commit c699a49ca4f9de166835cd9ada6caccc61f7ea94 from: Benjamin Stürz date: Sun Sep 22 12:45:19 2024 UTC /etc/OpenBSD/apm/resume: wait for 5 seconds before mounting /mnt/data commit - 8fcd58b23fdfc8027f035a0e679a793b4ee0be06 commit + c699a49ca4f9de166835cd9ada6caccc61f7ea94 blob - e760e1c9debd8bba3f4a5d401424b14453f942d6 blob + ffe73e5827c6c2b7a6ed228b6e331da5607af73e --- etc/OpenBSD/apm/resume +++ etc/OpenBSD/apm/resume @@ -5,4 +5,7 @@ sndioctl output.mute=1 sndioctl output.level=0.5 wsconsctl mouse2.reverse_scrolling=1 -! mount | grep -q '/mnt/data' && ping -c1 -w1 192.168.64.10 >/dev/null 2>&1 && mount /mnt/data +{ + sleep 5; + { ! mount | grep -q '/mnt/data'; } && ping -c1 -w1 192.168.64.10 >/dev/null 2>&1 && mount /mnt/data +} &