diff --git a/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports b/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports index ca05ba3e..d63ff23a 100755 --- a/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports +++ b/features.in/armh-mcom02/image-scripts.d/50-alsa-set-initial-options-ports @@ -1,5 +1,6 @@ #!/bin/sh -efu -[ "$GLOBAL_ARCH" = armh ] && sed -i '/snd-seq-midi/d' /etc/firsttime.d/alsa-set-initial-options +[ -f /etc/firsttime.d/alsa-set-initial-options ] && + sed -i '/snd-seq-midi/d' /etc/firsttime.d/alsa-set-initial-options exit 0