Open huipengzhao opened 1 month ago
A non-zero return code of the alsactl restore shall not affect the whole script's return code. Otherwise the service will be failed, and the systemctl status wm8960-soundcard.service will show a failure state.
alsactl restore
systemctl status wm8960-soundcard.service
A non-zero return code of the
alsactl restore
shall not affect the whole script's return code. Otherwise the service will be failed, and thesystemctl status wm8960-soundcard.service
will show a failure state.